/**
* 記事を更新してデータが書き換えられる直前の処理
* @param type $post_id
*/
function my_pre_post_update($post_id) {
//dosomething
}
add_action('pre_post_update', 'my_pre_post_update');
/**
* 記事を更新してデータが書き換えられた直後の処理
* @param type $post_id
*/
function my_post_updated($post_id) {
//dosomething
}
add_action('post_updated', 'my_post_updated');

