WP_Plugin_Install_List_Table::display_tablenav
Метод класса: WP_Plugin_Install_List_Table{}
Хуки из метода
Возвращает
null. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->display_tablenav( $which );
- $which(строка) (обязательный)
- .
Заметки
Global. Строка. $tab |
Код WP_Plugin_Install_List_Table::display_tablenav() WP Plugin Install List Table::display tablenav WP 7.1.2
<?php
protected function display_tablenav( $which ) {
if ( 'featured' === $GLOBALS['tab'] ) {
return;
}
if ( 'top' === $which ) {
wp_referer_field();
?>
<div class="tablenav top">
<div class="alignleft actions">
<?php
/**
* Fires before the Plugin Install table header pagination is displayed.
*
* @since 2.7.0
*/
do_action( 'install_plugins_table_header' );
?>
</div>
<?php $this->pagination( $which ); ?>
<br class="clear" />
</div>
<?php } else { ?>
<div class="tablenav bottom">
<?php $this->pagination( $which ); ?>
<br class="clear" />
</div>
<?php
}
}