In my custom post type, once the user saves the post, is there a way to check the value of one of the fields and update it? The value I will insert will depend on the post’s ID so save_post needs to be used in case it’s a new post.
In my custom post type, once the user saves the post, is there a
Share
Yes you can have all of your data from
$_POSTorglobal $postafter you save or update the postusing save_post hook as you mentioned in your questionYou mentioned
custom fieldand in that case you can useand