WordPress开发者和主题制作者的搜索引擎



comment_edit_pre ›

Since2.0.0
已弃用n/a
apply_filters( 'comment_edit_pre', $comment->comment_content )
参数:
  • (string) $comment->comment_content Comment content.
    Required: Yes
定义在:
文档:

Filters the comment content before editing.





源码

$comment->comment_content = apply_filters( 'comment_edit_pre', $comment->comment_content );