Summery Summery
Perform term count update immediately.
Syntax Syntax
Parameters Parameters
- $terms
-
(Required) The term_taxonomy_id of terms to update.
- $taxonomy
-
(Required) The context of the term.
Return Return
(true) Always true when complete.
Source Source
File: wp-includes/taxonomy.php
* Fires after a term has been updated, and the term cache has been cleaned.
*
* @since 2.3.0
*
* @param int $term_id Term ID.
* @param int $tt_id Term taxonomy ID.
* @param string $taxonomy Taxonomy slug.
*/
do_action( 'edited_term', $term_id, $tt_id, $taxonomy );
/**
* 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.
*
* @since 2.3.0
*
* @param int $term_id Term ID.
* @param int $tt_id Term taxonomy ID.
*/
do_action( "edited_{$taxonomy}", $term_id, $tt_id );
/** This action is documented in wp-includes/taxonomy.php */
do_action( 'saved_term', $term_id, $tt_id, $taxonomy, true );
/** This action is documented in wp-includes/taxonomy.php */
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |