Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/taxonomy.php | do_action | 2671 | /** * Fires after a term has been saved, and the term cache has been cleared. * * The {@see 'saved_$taxonomy'} hook is also available for targeting a specific * taxonomy. * * @since 5.5.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 bool $update Whether this is an existing term being updated. * @param array $args Arguments passed to wp_insert_term(). */ |
wp-includes/taxonomy.php | do_action | 3397 | /** * Fires after a term for a specific taxonomy has been updated, and the term * cache has been cleaned. * * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. * * Possible hook names include: * * - `edited_category` * - `edited_post_tag` * * @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 array $args Arguments passed to wp_update_term(). */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $term_id | Term ID. |
int | $tt_id | Term taxonomy ID. |
string | $taxonomy | Taxonomy slug. |
bool | $update | Whether this is an existing term being updated. |
array | $args | Arguments passed to wp_insert_term(). |
int | $term_id | Term ID. |
int | $tt_id | Term taxonomy ID. |
string | $taxonomy | Taxonomy slug. |
bool | $update | Whether this is an existing term being updated. |
array | $args | Arguments passed to wp_insert_term(). |