Skip to main content

mbr/post/update

Usage

This action hook enables you to run code after a page/post has been updated.

Parameters

ParametersDescription
$post_idVariable containing the post ID of the page/post being updated.
$postContains the entire $post object.

Examples

function my_mbr_update_post($post_id, $post) {
// $post_id is the post ID of the page/post being updated
// $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 updated post
}
add_action('mbr/post/update', 'my_mbr_update_post',1,2);