Usage:

This hook enables you to safely run your code after a page/post has been inserted or updated.

Parameters:

ActiveMember360 will pass the following parameters to your action function:

$post_id is the post ID of the page/post being saved.
$post is the content of the entire “$post” object

Example:

function my_mbr_saved_post($post_id, $post) {
  // $post_id is the post ID of the page/post being saved
  // $post is the content of the entire "$post" object
  // add your code to perform any desired action, such as sending an email notification
  // or changing field values in the saved post
}
add_action('mbr/post/saved', 'my_mbr_saved_post',1,2);
</code>