_update_posts_count_on_delete


_update_posts_count_on_delete ( $post_id )

Parameters:
  • (int) $post_id Post ID.
Defined at:

Description

Handler for updating the current site's posts count when a post is deleted.

Related Functions

update_posts_count, _update_post_term_count, _update_posts_count_on_transition_post_status, wp_update_comment_count_now, wp_update_term_count_now

Top Google Results

User discussions

wpseek mobile