create_{$taxonomy}

SummerySummery

Fires after a new term is created for a specific taxonomy.

Syntax

do_action( "create_{$taxonomy}", int $term_id, int $tt_id )

DescriptionDescription

The dynamic portion of the hook name, $taxonomy, refers to the slug of the taxonomy the term was created for.

ParametersParameters

$term_id

(int) Term ID.

$tt_id

(int) Term taxonomy ID.

SourceSource

File: wp-includes/taxonomy.php

ChangelogChangelog

Changelog
Version Description
2.3.0 Introduced.
Scroll to Top