wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



comment_notification_notify_author › WordPress Filter Hooks

Da3.8.0
Deprecaton/a
› apply_filters( 'comment_notification_notify_author', false, $comment->comment_ID )
Parametri: (2)
  • () notify Whether to notify the post author of their own comment. Default false.
    Richiesto: Sì
  • () comment_id The comment ID as a numeric string.
    Richiesto: Sì
Definito a:
Codex:

Filters whether to notify comment authors of their comments on their own posts.

By default, comment authors aren't notified of their comments on their own posts. This filter allows you to override that.




Sorgenti

$notify_author = apply_filters( 'comment_notification_notify_author', false, $comment->comment_ID );