When a user publishes or updates a post I want to get a post meta value from that post itself. Then I want to use update_option() to pass that value into the get_option() name.
I've been trying multiple things and I know this works, but it seems the issue I am having is this happening during the save_post action? If I remove the action everything works fine. I've tried other action points but still nothing has worked.
I'm kind of guessing that at the time these actions run is before the post_meta data is saved so I can get that value in time to pass to the update_option(); Is this true?
How should I go about this? - Thanks.