saved_term

saved_term

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('saved_term') is found 2 times:

  • /wp-includes/taxonomy.php line 2747
    2743
    2744
    2745
    2746
    2747
    2748
    2749
    2750
    2751
    2752
    2753
    * @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().
     */
    do_action( 'saved_term', $term_id, $tt_id, $taxonomy, false, $args );
     
    /**
     * Fires after a term in a specific taxonomy has been saved, and the term
     * cache has been cleared.
     *
     * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
  • /wp-includes/taxonomy.php line 3475
    3471
    3472
    3473
    3474
    3475
    3476
    3477
    3478
    3479
    3480
    3481
    */
    do_action( "edited_{$taxonomy}", $term_id, $tt_id, $args );
     
    /** This action is documented in wp-includes/taxonomy.php */
    do_action( 'saved_term', $term_id, $tt_id, $taxonomy, true, $args );
     
    /** This action is documented in wp-includes/taxonomy.php */
    do_action( "saved_{$taxonomy}", $term_id, $tt_id, true, $args );
     
    return array(
        'term_id'          => $term_id,