WP_Posts_List_Table::no_items()

In this article

Source

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

User Contributed Notes

You must log in before being able to contribute a note or feedback.