wpseek.com
A WordPress-centric search engine for devs and theme authors



comment_duplicate_message › WordPress Filter Hooks

Since5.2.0
Deprecatedn/a
apply_filters( 'comment_duplicate_message', __( 'Duplicate comment detected; it looks as though you’ve already said that!' )
Parameters:
  • (string) $comment_duplicate_message Duplicate comment error message.
    Required: Yes
Defined at:
Codex:

Filters duplicate comment error message.





Source

$comment_duplicate_message = apply_filters( 'comment_duplicate_message', __( 'Duplicate comment detected; it looks as though you’ve already said that!' ) );