registered_taxonomy_for_object_type WordPress Action Hook

The registered_taxonomy_for_object_type hook is used to register a taxonomy for an object type. This hook is called when a taxonomy is registered.

do_action( 'registered_taxonomy_for_object_type', string $taxonomy, string $object_type ) #

Fires after a taxonomy is registered for an object type.


Parameters

$taxonomy

(string)Taxonomy name.

$object_type

(string)Name of the object type.


Top ↑

Source

File: wp-includes/taxonomy.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More