block_core_calendar_update_has_published_post_on_transition_post_status
block_core_calendar_update_has_published_post_on_transition_post_status ( $new_status, $old_status, $post )
Parameters:- (string) new_status The status the post is changing to.
- (string) old_status The status the post is changing from.
- (WP_Post) post Post object.
Defined at: - Introduced in WordPress: —
- Deprecated in WordPress: —
Description
Handler for updating the has published posts flag when a post status changes.