registered_taxonomy

SummerySummery

Fires after a taxonomy is registered.

Syntax

do_action( 'registered_taxonomy', string $taxonomy, array|string $object_type, array $args )

ParametersParameters

$taxonomy

(string) Taxonomy slug.

$object_type

(array|string) Object type or array of object types.

$args

(array) Array of taxonomy registration arguments.

SourceSource

File: wp-includes/taxonomy.php

ChangelogChangelog

Changelog
Version Description
3.3.0 Introduced.
Scroll to Top