_wp_posts_page_notice()
Outputs a notice when editing the page for posts (internal use only).
Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.
No Hooks.
Return
null
. Nothing (null).
Usage
_wp_posts_page_notice();
Changelog
Since 4.2.0 | Introduced. |
_wp_posts_page_notice() wp posts page notice code WP 6.5.2
function _wp_posts_page_notice() { wp_admin_notice( __( 'You are currently editing the page that shows your latest posts.' ), array( 'type' => 'warning', 'additional_classes' => array( 'inline' ), ) ); }