A WordPress-centric search engine for devs and theme authors



comment_edit_pre ›

Since2.0.0
Deprecatedn/a
apply_filters( 'comment_edit_pre', $comment->comment_content )
Parameters:
  • (string) $comment->comment_content Comment content.
    Required: Yes
Defined at:
Codex:

Filters the comment content before editing.





Source

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