comment_notification_recipients

comment_notification_recipients

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('comment_notification_recipients') is found 1 times:

  • /wp-includes/pluggable.php line 1675
    		 *
    		 * @param string[] $emails     An array of email addresses to receive a comment notification.
    		 * @param string   $comment_id The comment ID as a numeric string.
    		 */
    		$emails = apply_filters( 'comment_notification_recipients', $emails, $comment->comment_ID );
    		$emails = array_filter( $emails );
    
    		// If there are no addresses to send the comment to, bail.
    		if ( ! count( $emails ) ) {
    			return false;
    		}
    

See this hook used in plugins: