WP_Themes_List_Table::display_rows_or_placeholder()
- Source
wp-admin/includes/class-wp-themes-list-table.php:181
Uses · 3
- WP_Themes_List_Table::has_items()
- WP_Themes_List_Table::display_rows()Generates the list table rows.
- WP_Themes_List_Table::no_items()
Used by · 1
- WP_Themes_List_Table::display()Displays the themes table.
Source
public function display_rows_or_placeholder() { if ( $this->has_items() ) { $this->display_rows(); } else { echo '<div class="no-items">'; $this->no_items(); echo '</div>'; } }History
Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, from
src/wp-admin/includes/class-wp-themes-list-table.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.