Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible performance issue with getting categories count #73

Open
nikitasinelnikov opened this issue Sep 1, 2022 · 0 comments
Open
Assignees
Labels
enhancement New feature or request feature request

Comments

@nikitasinelnikov
Copy link
Member

Please use the term meta for saving count on the first get.

  • After changing the post (add post hook, update post hook, delete post hook, filled action, change term (-1 for the previous term, +1 for new term) ).
  • Add the button that flushes these cached numbers in the terms meta (WP Dashboard widget)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request
Projects
None yet
Development

No branches or pull requests

2 participants