manage_comments_nav

动作钩子


do_action( 'manage_comments_nav', $comment_status, $which )
参数
  • (string)
    $comment_status
    The comment status name. Default ‘All’.
    Required:
  • (string)
    $which
    The location of the extra table nav markup: ‘top’ or ‘bottom’.
    Required:
定义位置
  • wp-admin/includes/class-wp-comments-list-table.php
    , line 441
引入
5.6.0
弃用

Fires after the Filter submit button for comment types.

do_action( 'manage_comments_nav', $comment_status, $which );