WP_Themes_List_Table::display() WordPress Method

The WP_Themes_List_Table::display() method is used to display a list of themes in a tabular format. The list table class is used to generate the table, while the WP_Themes_List_Table::display() method is responsible for displaying the table.

WP_Themes_List_Table::display() #

Displays the themes table.


Description

Overrides the parent display() method to provide a different container.


Top ↑

Source

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

	public function display() {
		wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' );
		?>
		<?php $this->tablenav( 'top' ); ?>

		<div id="availablethemes">
			<?php $this->display_rows_or_placeholder(); ?>
		</div>

		<?php $this->tablenav( 'bottom' ); ?>
		<?php
	}


Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

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.