Thread Starter
Santhosh
(@santhoshoutright)
Thanks for your reply, Sorry if i not state the occurrence more specific. Create new post -> save as pending or draft -> publish the created post.
do_action( 'transition_post_status', string $new_status, string $old_status, WP_Post $post )
When ‘transition_post_status’ action fired given ‘old_status’ is publish well it should be pending or draft status.
-
This reply was modified 6 years, 7 months ago by Santhosh.
Thread Starter
Santhosh
(@santhoshoutright)
List of not working action hooks in Gutenberg editor WordPress:
1. post_updated
2. pending_to_publish
3. draft_to_publish
4. transition_post_status