comment_status_links

过滤钩子


apply_filters( 'comment_status_links', $this->get_views_links( $status_links )
参数
  • (string[])
    $status_links
    An associative array of fully-formed comment status links. Includes ‘All’, ‘Mine’,
    ‘Pending’, ‘Approved’, ‘Spam’, and ‘Trash’.
    Required:
定义位置
  • wp-admin/includes/class-wp-comments-list-table.php
    , line 348
引入
5.1.0
弃用

Filters the comment status links.

return apply_filters( 'comment_status_links', $this->get_views_links( $status_links ) );