Skip to main content
7 events
when toggle format what by license comment
May 30 at 13:07 comment added Mladen Janjetovic safer to go with WP CLI command, check the other answer
Jul 24, 2019 at 11:46 comment added Ken @JoelM The count column exists in the database table wp_term_taxonomy. It seems like the function you are looking for to update the count is wp_update_term_count($terms, $taxonomy, false) or wp_update_term_count_now($terms, $taxonomy) defined in wp-includes/taxonomy.php.
Feb 28, 2018 at 19:39 comment added Joel M users also have post counts on users screen, not sure if this data is saved beforehand or calculated on page load.
Feb 28, 2018 at 19:37 comment added Joel M this would probably work fine, but don't forget about term counts in one of the term tables. WordPress should have a function to update this.
Aug 2, 2017 at 17:23 review Late answers
Aug 2, 2017 at 18:40
Aug 2, 2017 at 17:08 review First posts
Aug 2, 2017 at 17:23
Aug 2, 2017 at 17:07 history answered pathusutariya CC BY-SA 3.0