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, list<int> $followers, string $old_status, list<int> $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 list<int>

(Required) List with current post followers.

$old_status string

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

$old_followers list<int>

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

Source

File: includes/utils/class-nelio-content-post-saving.php

Changelog

Changelog
VersionDescription
2.0.0Introduced.