WP_Themes_List_Table::display_rows_or_placeholder
Method of the class: WP_Themes_List_Table{}
No Hooks.
Returns
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() WP Themes List Table::display rows or placeholder code WP 7.0
public function display_rows_or_placeholder() {
if ( $this->has_items() ) {
$this->display_rows();
} else {
echo '<div class="no-items">';
$this->no_items();
echo '</div>';
}
}