Email::default_recipients( array $recipients, integer $comment_id )
Description #
Return empty recipients for default comment notifications.
Parameters #
- $recipientsarray (Required) Array of recipients.
- $comment_idinteger (Required) Comment ID.
Source #
File: addons/email/email.php
public function default_recipients( $recipients, $comment_id ) { $_comment = get_comment( $comment_id ); if ( 'anspress' === $_comment->comment_type ) { return array(); } return $recipients; }
Expand full source code Collapse full source code View on GitHub: addons/email/email.php:114
Add your comment