Reference › Hooks do_action( "registered_taxonomy_{$taxonomy}" , string $taxonomy , array | string $object_type , array $args )
Since 6.0.0 Description Parameters Fired at Source History Fires after a specific taxonomy is registered.
Description The dynamic portion of the filter name, $taxonomy, refers to the taxonomy key. Possible hook names include: <ul> <li>registered_taxonomy_category</li> <li>registered_taxonomy_post_tag</li> </ul>
Parameters
$taxonomystring Taxonomy slug.
$object_typearray | stringObject type or array of object types.
$argsarray Array of taxonomy registration arguments. Fired at · 1 wp-includes/taxonomy.php:588register_taxonomy() Source View on Trac ↗ View on GitHub ↗
582 * @since 6.0 .0 583 * 584 * @param string $taxonomy Taxonomy slug. 585 * @param array | string $object_type Object type or array of object types. 586 * @param array $args Array of taxonomy registration arguments. 587 * / 588 do_action ( "registered_taxonomy_{ $taxonomy } " , $taxonomy , $object_type , ( array ) $taxonomy_object ) ; 589 590 return $taxonomy_object ; 591 } 592 593 / ** 594 * Unregisters a taxonomy. History Introduced in 6.0.0 . Unchanged from 6.7.7 through 7.1.0.
6.7.7 6.8.8 6.9.7 7.0.4 7.1.0 Signature, return type and hooks compared across 5 parsed releases.
About this page Parsed data Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. Corrections Something wrong on this page? Report it and it gets fixed in the next regeneration.