WP_Theme_Install_List_Table::display()publicWP 3.1.0

Displays the theme install table.

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

Метод класса: WP_Theme_Install_List_Table{}

Хуки из метода

Возвращает

null. Ничего (null).

Использование

$WP_Theme_Install_List_Table = new WP_Theme_Install_List_Table();
$WP_Theme_Install_List_Table->display();

Список изменений

С версии 3.1.0 Введена.

Код WP_Theme_Install_List_Table::display() WP 6.5.2

<?php
public function display() {
	wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' );
	?>
	<div class="tablenav top themes">
		<div class="alignleft actions">
			<?php
			/**
			 * Fires in the Install Themes list table header.
			 *
			 * @since 2.8.0
			 */
			do_action( 'install_themes_table_header' );
			?>
		</div>
		<?php $this->pagination( 'top' ); ?>
		<br class="clear" />
	</div>

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

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