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:
定義位置
相關勾子
comment_linkcomment_max_links_urlget_comments_linkget_comment_author_linkcomments_link_feed
相關方法
comments_linkcomment_author_linkcomments_rss_linkcomment_linkget_comment_statusescomments_popup_link
引入
5.1.0
棄用
-

comment_status_links: 這個過濾器允許你修改出現在管理介面的評論狀態行中的連結列表。

過濾評論狀態連結。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
return apply_filters( 'comment_status_links', $this->get_views_links( $status_links ) );
return apply_filters( 'comment_status_links', $this->get_views_links( $status_links ) );
return apply_filters( 'comment_status_links', $this->get_views_links( $status_links ) );

常見問題

FAQs
檢視更多 >