WP_Posts_List_Table::no_items() –

You appear to be a bot. Output may be restricted

Description

Usage

WP_Posts_List_Table::no_items();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/class-wp-posts-list-table.php
Lines:

1 to 7 of 7
  public function no_items() {
    if ( isset( $_REQUEST['post_status'] ) && 'trash' === $_REQUEST['post_status'] ) {
      echo get_post_type_object( $this->screen->post_type )->labels->not_found_in_trash;
    } else {
      echo get_post_type_object( $this->screen->post_type )->labels->not_found;
    }
  }
 

 View on GitHub View on Trac