comment_notification_text filter-hook . WP 1.5.2
Filters the comment notification email text.
Usage
add_filter( 'comment_notification_text', 'filter_function_name_4858', 10, 2 ); function filter_function_name_4858( $notify_message, $comment_id ){ // filter... return $notify_message; }
- $notify_message(string)
- The comment notification email text.
- $comment_id(int)
- Comment ID.
Changelog
Since 1.5.2 | Introduced. |
Where the hook is called
comment_notification_text
wp-includes/pluggable.php 1686
$notify_message = apply_filters( 'comment_notification_text', $notify_message, $comment->comment_ID );