WP_Themes_List_Table::display_rows_or_placeholder()publicWP 1.0

Method of the class: WP_Themes_List_Table{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Themes_List_Table = new WP_Themes_List_Table();
$WP_Themes_List_Table->display_rows_or_placeholder();

WP_Themes_List_Table::display_rows_or_placeholder() code WP 6.6.2

public function display_rows_or_placeholder() {
	if ( $this->has_items() ) {
		$this->display_rows();
	} else {
		echo '<div class="no-items">';
		$this->no_items();
		echo '</div>';
	}
}