Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nelio_content_notify_post_followers

do_action( ‘nelio_content_notify_post_followers’, WP_Post $post, array $followers, string $old_status, array $old_followers )

This action is triggered after a post is saved so that we can notify its followers.

Parameters

$post WP_Post

(Required) the post.

$followers array

(Required) list with current post followers.

$old_status string

(Required) previous post status (i.e. before the update).

$old_followers array

(Required) list with previous post followers (i.e. before the update).