saved_{$taxonomy}

saved_{$taxonomy}

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('saved_{$taxonomy}') is found 2 times:

  • /wp-includes/taxonomy.php line 2768
    2764
    2765
    2766
    2767
    2768
    2769
    2770
    2771
    2772
    2773
    2774
         * @param int   $tt_id   Term taxonomy ID.
         * @param bool  $update  Whether this is an existing term being updated.
         * @param array $args    Arguments passed to wp_insert_term().
         */
        do_action( "saved_{$taxonomy}", $term_id, $tt_id, false, $args );
     
        return array(
            'term_id'          => $term_id,
            'term_taxonomy_id' => $tt_id,
        );
    }
  • /wp-includes/taxonomy.php line 3478
    3474
    3475
    3476
    3477
    3478
    3479
    3480
    3481
    3482
    3483
    3484
        /** 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,
            'term_taxonomy_id' => $tt_id,
        );
    }