WP_Themes_List_Table::display_rows_or_placeholder() WordPress Method
The WP_Themes_List_Table::display_rows_or_placeholder() method is used to either display a list of themes, or a "no themes" message, depending on whether there are any themes available. This method is used by the WP_Themes_List_Table::display() method to display a list of themes.
WP_Themes_List_Table::display_rows_or_placeholder() #
Source
File: wp-admin/includes/class-wp-themes-list-table.php
public function display_rows_or_placeholder() {
if ( $this->has_items() ) {
$this->display_rows();
} else {
echo '<div class="no-items">';
$this->no_items();
echo '</div>';
}
}
Expand full source codeCollapse full source codeView on TracView on GitHub