create_term

create_term

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('create_term') is found 1 times:

  • /wp-includes/taxonomy.php line 2660
    	 * @param int    $tt_id    Term taxonomy ID.
    	 * @param string $taxonomy Taxonomy slug.
    	 * @param array  $args     Arguments passed to wp_insert_term().
    	 */
    	do_action( 'create_term', $term_id, $tt_id, $taxonomy, $args );
    
    	/**
    	 * Fires after a new term is created for a specific taxonomy.
    	 *
    	 * The dynamic portion of the hook name, `$taxonomy`, refers
    	 * to the slug of the taxonomy the term was created for.
    

See this hook used in plugins: