1. 首页
  2. WordPress钩子手册

cancel_comment_reply_link

apply_filters( ‘cancel_comment_reply_link’, string $formatted_link, string $link, string $text )

过滤钩子:过滤取消评论回复链接HTML。
Filter Hook: Filters the cancel comment reply link HTML.

目录锚点:#参数#源码


参数(Parameters)

参数 类型 说明
$formatted_link (string) HTML格式的取消注释回复链接。
$link (string) 取消评论回复链接URL。
$text (string) 取消评论回复链接文本。

源码(Source)


更新版本 源码位置 使用 被使用
2.7.0 wp-includes/comment-template.php:1880 1 0

cancel_comment_reply_link 为WP2原创文章,链接:https://www.wp2.cn/hook/cancel_comment_reply_link/