WordPress at Your Fingertips
function is not described

WP_Comments_List_Table::no_items() public WP 1.0

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

No Hooks.

Return

null. Nothing.

Usage

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

Notes

  • Global. String. $comment_status

Code of WP_Comments_List_Table::no_items() WP 5.8.2

public function no_items() {
	global $comment_status;

	if ( 'moderated' === $comment_status ) {
		_e( 'No comments awaiting moderation.' );
	} elseif ( 'trash' === $comment_status ) {
		_e( 'No comments found in Trash.' );
	} else {
		_e( 'No comments found.' );
	}
}