comment_reply_link_args

過濾鉤子
apply_filters( 'comment_reply_link_args', $args, $comment, $post )
引數
  • (array) $args Comment reply link arguments. See get_comment_reply_link() for more information on accepted arguments.
    Required:
  • (WP_Comment) $comment The object of the comment being replied to.
    Required:
  • (WP_Post) $post The WP_Post object.
    Required:
定義位置
相關勾子
comment_reply_linkcancel_comment_reply_linkcomment_linkcomments_popup_link_attributeswp_comment_reply
相關方法
comment_reply_linkget_comment_reply_linkcancel_comment_reply_linkcomments_rss_linkcomment_linkget_cancel_comment_reply_link
引入
4.1.0
棄用
-

comment_reply_link_args: 這個過濾器允許你修改傳遞給 comment_reply_link 函式的引數。

過濾評論回覆連結的論據。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$args = apply_filters( 'comment_reply_link_args', $args, $comment, $post );
$args = apply_filters( 'comment_reply_link_args', $args, $comment, $post );
$args = apply_filters( 'comment_reply_link_args', $args, $comment, $post );

常見問題

FAQs
檢視更多 >