manage_comments_nav action-hook . WP 2.5.0
Fires after the Filter submit button for comment types.
Usage
add_action( 'manage_comments_nav', 'action_function_name_34', 10, 2 ); function action_function_name_34( $comment_status, $which ){ // action... }
- $comment_status(string)
- The comment status name.
Default: 'All' - $which(string)
- The location of the extra table nav markup: 'top' or 'bottom'.
Changelog
Since 2.5.0 | Introduced. |
Since 5.6.0 | The $which parameter was added. |
Where the hook is called
manage_comments_nav
wp-admin/includes/class-wp-comments-list-table.php 431
do_action( 'manage_comments_nav', $comment_status, $which );