manage_posts_extra_tablenav
Fires immediately following the closing "actions" div in the tablenav for the posts list table.
Использование
add_action( 'manage_posts_extra_tablenav', 'wp_kama_manage_posts_extra_tablenav_action' ); /** * Function for `manage_posts_extra_tablenav` action-hook. * * @param string $which The location of the extra table nav markup: 'top' or 'bottom'. * * @return void */ function wp_kama_manage_posts_extra_tablenav_action( $which ){ // action... }
- $which(строка)
- The location of the extra table nav markup: 'top' or 'bottom'.
Список изменений
С версии 4.4.0 | Введена. |
Где вызывается хук
manage_posts_extra_tablenav
wp-admin/includes/class-wp-posts-list-table.php 620
do_action( 'manage_posts_extra_tablenav', $which );