Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nelio_content_notification_send_email_recipients

apply_filters( ‘nelio_content_notification_send_email_recipients’, list<string> $recipients, string $type, WP_Post|TEditorial_Comment|TEditorial_Task $item )

Filters the recipients of the email.

Parameters

$recipients list<string>

(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, or task-completed.

$item WP_Post|TEditorial_Comment|TEditorial_Task

(Required) item that triggered the notification. Either a WordPress post, a task, or a comment.

Source

File: includes/utils/class-nelio-content-notifications.php

Changelog

Changelog
VersionDescription
2.0.0Introduced.