W3cubDocs

/WordPress

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>';
		}
	}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_themes_list_table/display_rows_or_placeholder