WordPress at Your Fingertips
function is not described

WP_Posts_List_Table::no_items() public WP 1.0

{} It's a method of the class: WP_Posts_List_Table{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Posts_List_Table = new WP_Posts_List_Table();
$WP_Posts_List_Table->no_items();

Code of WP_Posts_List_Table::no_items() WP 5.8.2

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;
	}
}