_wp_posts_page_notice

Output a notice when editing the page for posts (internal use only).

Description

_wp_posts_page_notice(); 

Usage

  1. if ( !function_exists( '_wp_posts_page_notice' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = _wp_posts_page_notice(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-admin/includes/template.php  
  1. function _wp_posts_page_notice() { 
  2. echo '<div class="notice notice-warning inline"><p>' . __( 'You are currently editing the page that shows your latest posts.' ) . '</p></div>';