I have tried using many hooks to achieve this. I don't want one of my post meta to be updated when we update post.
I tried doing something like :
add_filter( 'update_post_metadata', 'wpse_163859', 10, 5 );
function wpse_163859( $check, $object_id, $meta_key, $meta_value, $prev_value )
{
return false;
}
I tried looking at meta.php in wp-includes, tried whole day with lots of code, appreciate any help.