_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_post_term_count, _update_posts_count_on_transition_post_status, wp_update_term_count_now, wp_maybe_update_network_site_counts_on_update, _update_blog_date_on_post_delete

Top Google Results

User discussions

wpseek mobile