WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about edit_term

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/taxonomy.php do_action 3333 /**
* Fires after a term has been updated, but before the term cache has been cleaned.
* The {@see 'edit_$taxonomy'} hook is also available for targeting a specific
* taxonomy.
* @since 2.3.0
* @since 6.1.0 The `$args` parameter was added.
* @param int $term_id Term ID.
* @param int $tt_id Term taxonomy ID.
* @param string $taxonomy Taxonomy slug.
* @param array $args Arguments passed to wp_update_term().

Hook Parameters

Parameter Type Name Description
mixed $value Value of the term field.
int $term_id Term ID.
string $taxonomy Taxonomy slug.