[wp-trac] [WordPress Trac] #63904: Add action hook when terms counts are updated
WordPress Trac
noreply at wordpress.org
Fri Sep 5 13:28:38 UTC 2025
#63904: Add action hook when terms counts are updated
-------------------------------------------------+-------------------------
Reporter: LeonidasMilossis | Owner:
| SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.9
Component: Taxonomy | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing has-unit- | Focuses:
tests | performance
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"60711" 60711]:
{{{
#!CommitTicketReference repository="" revision="60711"
Taxonomy: Add `update_term_count` action that fires when term counts are
updated.
This allows plugins to run custom queries only when a term count is
actually updated and not on every update of terms or posts.
Follow-up to [60365], [60510].
Props leonidasmilossis, peterwilsoncc, mukesh27, rollybueno,
SergeyBiryukov.
Fixes #63904.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63904#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list