Get old values for post before saving new ones

The post_updated action gives you both old and new values as arguments before the new values are saved:

do_action( 'post_updated', $post_ID, $post_after, $post_before );

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)