- %1$s is private and should not be used in themes or plugins directly.
_update_term_count_on_transition_post_status ( $new_status, $old_status, $post )
- (string) new_status New post status.
- (string) old_status Old post status.
- (WP_Post) post Post object.
- Introduced in WordPress: 3.3.0
- Deprecated in WordPress: —
Update the custom taxonomies' term counts when a post's status is changed.For example, default posts term counts (for custom taxonomies) don't include
private / draft posts.