manage_comments_nav WordPress Action Hook
The manage_comments_nav hook allows you to add extra navigation to the comments section of the WordPress admin. This can be useful for adding extra filters or for customizing the comments interface.
do_action( 'manage_comments_nav', string $comment_status , string $which ) #
Fires after the Filter submit button for comment types.
Parameters
- $comment_status
(string)The comment status name. Default 'All'.
- $which
(string)The location of the extra table nav markup: 'top' or 'bottom'.
Source
Changelog
Version | Description |
---|---|
5.6.0 | The $which parameter was added. |
2.5.0 | Introduced. |