WP_MS_Themes_List_Table::no_items() WordPress Method

The WP_MS_Themes_List_Table::no_items() method is used to display a message when there are no themes available. This message is displayed when the site is running in multi-site mode and there are no themes available for the current site.

WP_MS_Themes_List_Table::no_items() #


Source

File: wp-admin/includes/class-wp-ms-themes-list-table.php

	public function no_items() {
		if ( $this->has_items ) {
			_e( 'No themes found.' );
		} else {
			_e( 'No themes are currently available.' );
		}
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.