created_{$taxonomy}

Advertisement

Summery Summery

Fires after a new term in a specific taxonomy is created, and after the term cache has been cleaned.

Syntax Syntax

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

Description Description

The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.

Parameters Parameters

$term_id

Term ID.

$tt_id

Term taxonomy ID.

Source Source

File: wp-includes/taxonomy.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Advertisement

Leave a Reply