created_term

created_term

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('created_term') is found 1 times:

  • /wp-includes/taxonomy.php line 2679
    	 * @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: