WP_Application_Passwords_List_Table::display_tablenav()
Generates custom table navigation to prevent conflicting nonces.
Метод класса: WP_Application_Passwords_List_Table{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->display_tablenav( $which );
- $which(строка) (обязательный)
- The location of the bulk actions: Either 'top' or 'bottom'.
Список изменений
С версии 5.6.0 | Введена. |
Код WP_Application_Passwords_List_Table::display_tablenav() WP Application Passwords List Table::display tablenav WP 6.5.2
<?php protected function display_tablenav( $which ) { ?> <div class="tablenav <?php echo esc_attr( $which ); ?>"> <?php if ( 'bottom' === $which ) : ?> <div class="alignright"> <button type="button" name="revoke-all-application-passwords" id="revoke-all-application-passwords" class="button delete"><?php _e( 'Revoke all application passwords' ); ?></button> </div> <?php endif; ?> <div class="alignleft actions bulkactions"> <?php $this->bulk_actions( $which ); ?> </div> <?php $this->extra_tablenav( $which ); $this->pagination( $which ); ?> <br class="clear" /> </div> <?php }