manage_posts_extra_tablenav
Action HookDescription
Fires immediately following the closing "actions" div in the tablenav for the posts list table.Hook Information
File Location |
wp-admin/includes/class-wp-posts-list-table.php
View on GitHub
|
Hook Type | Action |
Line Number | 620 |
Hook Parameters
Type | Name | Description |
---|---|---|
string
|
$which
|
The location of the extra table nav markup: 'top' or 'bottom'. |
Usage Examples
Basic Usage
<?php
// Hook into manage_posts_extra_tablenav
add_action('manage_posts_extra_tablenav', 'my_custom_function', 10, 1);
function my_custom_function($which) {
// Your custom code here
}
Source Code Context
wp-admin/includes/class-wp-posts-list-table.php:620
- How this hook is used in WordPress core
<?php
615 *
616 * @since 4.4.0
617 *
618 * @param string $which The location of the extra table nav markup: 'top' or 'bottom'.
619 */
620 do_action( 'manage_posts_extra_tablenav', $which );
621 }
622
623 /**
624 * @return string
625 */
PHP Documentation
<?php
/**
* Fires immediately following the closing "actions" div in the tablenav for the posts
* list table.
*
* @since 4.4.0
*
* @param string $which The location of the extra table nav markup: 'top' or 'bottom'.
*/
Quick Info
- Hook Type: Action
- Parameters: 1
- File: wp-admin/includes/class-wp-posts-list-table.php
Related Hooks
Related hooks will be displayed here in future updates.