mainwp_after_post_action

Fires after post/page publish/unpublish/trash/delete/restore actions.

Parameters

$information
(array) Array containing data from child site.
$type
(string) Type.
$pAction
(string) Action.
$postId
(int) Post ID.
$website
(object) Object containing the child site data.

Usage Example