Title: registered_taxonomy_{$taxonomy}
Published: May 25, 2022
Last modified: May 20, 2026

---

# do_action( “registered_taxonomy_{$taxonomy}”, string $taxonomy, array|string $object_type, array $args )

## In this article

 * [Description](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#description)
 * [Parameters](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#changelog)
 * [User Contributed Notes](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#user-contributed-notes)

[ Back to top](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#wp--skip-link--target)

Fires after a specific taxonomy is registered.

## 󠀁[Description](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#description)󠁿

The dynamic portion of the filter name, `$taxonomy`, refers to the taxonomy key.

Possible hook names include:

 * `registered_taxonomy_category`
 * `registered_taxonomy_post_tag`

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#parameters)󠁿

 `$taxonomy`string

Taxonomy slug.

`$object_type`array|string

Object type or array of object types.

`$args`array

Array of taxonomy registration arguments.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#source)󠁿

    ```php
    do_action( "registered_taxonomy_{$taxonomy}", $taxonomy, $object_type, (array) $taxonomy_object );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/taxonomy.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/taxonomy.php#L588)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/taxonomy.php#L588-L588)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#related)󠁿

| Used by | Description | 
| [register_taxonomy()](https://developer.wordpress.org/reference/functions/register_taxonomy/)`wp-includes/taxonomy.php` |

Creates or modifies a taxonomy object.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#changelog)󠁿

| Version | Description | 
| [6.0.0](https://developer.wordpress.org/reference/since/6.0.0/) | Introduced. |

## 󠀁[User Contributed Notes](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#user-contributed-notes)󠁿

 1.  [Skip to note 2 content](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/?output_format=md#comment-content-6050)
 2.   [Antonio Blanco Oliva](https://profiles.wordpress.org/ablancodev/)  [  4 years ago  ](https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy/#comment-6050)
 3. [You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fregistered_taxonomy_taxonomy%2F%23comment-6050)
    Vote results for this note: 0[You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fregistered_taxonomy_taxonomy%2F%23comment-6050)
 4. /**
     * Example of registered_taxonomy_{taxonomy} usage. In this case: customtax
    taxonomy * @param string $taxonomy Taxonomy key. In this case: customtax * @param
    array|string $object_type Name of the object type for the taxonomy object. * @param
    array|string $args Optional args used in taxonomy registration. */ function wporg_registered_taxonomy_customtax(
    $taxonomy, $object_type, $args ) { // Do something after customtax is registered
    as custom taxonomy } add_action( ‘registered_taxonomy_customtax’, ‘wporg_registered_taxonomy_customtax’,
    10, 3 );
 5.  [Log in to add feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fregistered_taxonomy_taxonomy%2F%3Freplytocom%3D6050%23feedback-editor-6050)

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fregistered_taxonomy_taxonomy%2F)
before being able to contribute a note or feedback.