comment_moderation_subject хук-фильтр . WP 1.5.2
Filters the comment moderation email subject.
Использование
add_filter( 'comment_moderation_subject', 'filter_function_name_6928', 10, 2 ); function filter_function_name_6928( $subject, $comment_id ){ // filter... return $subject; }
- $subject(строка)
- Subject of the comment moderation email.
- $comment_id(число)
- Comment ID.
Список изменений
С версии 1.5.2 | Введена. |
Где вызывается хук
comment_moderation_subject
wp-includes/pluggable.php 1879
$subject = apply_filters( 'comment_moderation_subject', $subject, $comment_id );