WordPress save_post_{custom_post_type} hook after all post meta is saved

Viewed 304

Literally the save_post wp hook get triggered before the post meta data is saved. That's why I am facing an issue. Anyone can help me please?

1 Answers

In the hook function, you can simply get the updated meta value like below. $_REQUEST[$meta_key]

You can update the post meta right away if you want.

Related