WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about created_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/taxonomy.php do_action 2654 /**
* 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.
*
* Possible hook names include:
*
* - `created_category`
* - `created_post_tag`
*
* @since 2.3.0
* @since 6.1.0 The `$args` parameter was added.
*
* @param int $term_id Term ID.
* @param int $tt_id Term taxonomy ID.
* @param array $args Arguments passed to wp_insert_term().
*/

Hook Parameters

Parameter Type Name Description
int $term_id Term ID.
int $tt_id Term taxonomy ID.
string $taxonomy Taxonomy slug.
array $args Arguments passed to wp_insert_term().