WordPress action hook · part of WordPress core
edited_term
A WordPress core action that 10 plugins also fire themselves, running on 547K+ sites between them.
“This action is documented in wp-includes/taxonomy.php”
How to use edited_term
It's an action: your callback runs at that point and receives 3 arguments. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'edited_term', function( $entry_id, $tt_id, $taxonomy ) {
// Your code runs here.
}, 10, 3 );Argument names come from Web Accessibility (formally known as Ally)'s source. Other plugins may pass different values: check the call in the plugin you're targeting below.
This hook is fired by WordPress core too. Official reference on developer.wordpress.org →
10 plugins that fire edited_term
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Web Accessibility (formally known as Ally)500,000+ installs
do_action( 'edited_term', $entry_id, $tt_id, $taxonomy )modules/remediation/classes/utils.php:189 -
Easy MCP AI40,000+ installs
do_action( 'edited_term', (int) $term->term_id, (int) $term->term_taxonomy_id, $term->taxonomy, array() )includes/tools/seo/yoast/class-yoast-update-term-seo.php:150 -
Search Atlas SEO6,000+ installs
do_action( 'edited_term', $term_id, $tt_id, $taxonomy )includes/class-metasync-seo-restore.php:734 -
Greek Multi Tool1,000+ installs
do_action( 'edited_term', $term_id, $tt_id, $taxonomy, $args )includes/class-grmlt-converter.php:856 -
Bulk AI CLI Connector: Edit Pages, SEO and Schema with Claude, ChatGPT and MCP Agents70+ installs
do_action( 'edited_term', (int) $term_id, (int) $term_id, (string) $taxonomy )includes/seo-fields.php:689 -
SEO Agent20+ installs
do_action( 'edited_term', $term_id, (int) $term->term_taxonomy_id, $taxonomy, [] )seo-agent-helper.php:4514 -
ClientsaskFewer than 10 installs
do_action( 'edited_term', $id, $term && ! is_wp_error( $term ) ? (int) $term->term_taxonomy_id : 0, $tax )includes/class-clientsask-seo.php:321 -
Marvedo YardımcıFewer than 10 installs
do_action( 'edited_term', $id, (int) $term->term_taxonomy_id, $taxonomy, array() )marvedo-yardimci.php:269 -
ScoreleafFewer than 10 installs
do_action( 'edited_term', $record->id, (int) get_term( $record->id )->term_taxonomy_id, $taxonomy )includes/Seo/Adapters/YoastAdapter.php:55 -
GoppaFewer than 10 installs
do_action( 'edited_term', $obj['id'], $obj['tt_id'], $obj['tax'] )includes/class-goppa-seo.php:261
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.