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:

Description

Handler for updating the has published posts flag when a post status changes.

Related Functions

block_core_calendar_update_has_published_post_on_delete, block_core_calendar_update_has_published_posts, block_core_calendar_has_published_posts, _update_posts_count_on_transition_post_status, _update_term_count_on_transition_post_status

Top Google Results

User discussions

wpseek mobile