|
Post by account_disabled on Nov 3, 2023 22:55:51 GMT -6
Also brings many new features and improvements for developers who create their own themes or plugins. Here are the other technical changes: Checking Post Accessibility: Version . introduces two new features that allow developers to check whether a post is publicly accessible - is_post_status_viewable()and is_post_publicly_viewable(). Single block filtering: The latest release includes a new dynamic hook render_block. That allows you to filter the content of a single block. Variable Filtering $user_data: The latest update brings a new hook lostpassword_user_datathat adds the ability to filter $user_dataon password reset, thus enabling user validation photo editor using custom data. Replacing the phrase "Back to site": WordPress . allows you to replace the HTML code that generates the "Back to site" link (on the login screen) with any code or link using a new hook login_site_html_link. Post-parent feature update: The new release introduces two new features related to post-parent - has_parent_post()checking whether a given post has a parent and get_parent_post()displaying the post's parent as an object. Passing attributes to <script>: In version adds tons of new features and improvements – for both users and developers. As this is the first of three major releases planned for , you could say that this is just a taste of what we can expect this year. Due to the scope of the changes, we have not mentioned everything that appeared in the latest version of WordPress.
|
|