apply_filters( ‘nelio_content_notification_send_email_recipients’, array $recipients , string $type , WP_Post|array $item )
Filters the recipients of the email.
Parameters
- $recipients array
(Required) emails of the recipients
- $type string
(Required) type of email we’re about to send. Values can be:
status-change
,new-post-follower
,comment
,task-creation
, ortask-completed
.- $item WP_Post|array
(Required) item that triggered the notification. Either a WordPress post, a task, or a comment.