WordPress编辑评论标签:edit_comment_link

WordPress模板标签edit_comment_link输出编辑评论的链接,需要用在The Loop主循环中。

edit_comment_link( string $text = null, string $before = '', string $after = '' )

函数参数

$text

字符串值,默认为空

链接锚文本

$before

字符串值,默认为空

链接前输出的字符

$after

字符串值,默认为空

链接后输出的字符

函数使用示例

<?php edit_comment_link('编辑评论', '

', '

'); ?>

扩展阅读

edit_comment_link()函数位于:wp-includes/link-template.php

相关函数:

原创文章,作者:,如若转载,请注明出处:https://ce.771633.xyz/1619.html

Like (0)
Previous 2025年3月8日
Next 2025年3月8日

相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注