Hi I am using a
future_post hook to capture when a scheduled post is updated like so :
Then I want to send the new post date to a database, however
$post->post_date returns the date prior to updating the post. I have to update the post again to get the correct new date.
on_post_scheduled function I am using the
global $post to access the post date, is this the cause?