created_term

created_term

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('created_term') is found 1 times:

  • /wp-includes/taxonomy.php line 2710
    2706
    2707
    2708
    2709
    2710
    2711
    2712
    2713
    2714
    2715
    2716
    * @param int    $tt_id    Term taxonomy ID.
     * @param string $taxonomy Taxonomy slug.
     * @param array  $args     Arguments passed to wp_insert_term().
     */
    do_action( 'created_term', $term_id, $tt_id, $taxonomy, $args );
     
    /**
     * Fires after a new term in a specific taxonomy is created, and after the term
     * cache has been cleaned.
     *
     * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.

See this hook used in plugins: