mysql - How to recount the count column in wp_term_taxonomy? -


i noticed when importing wordpress xml file blog wp_term_taxonomy table counted wrong , didn't display categories result of that.

is there way me recount count column in wp_term_taxonomy.

i solved problem calling wp_update_term_count_now() each time importer adds or updates terms in process_posts().


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -