register_taxonomy_for_object_type


register_taxonomy_for_object_type ( $taxonomy, $object_type )

Parameters:
  • (string) taxonomy Name of taxonomy object.
  • (string) object_type Name of the object type.
Returns:
  • (bool) True if successful, false if not.
Defined at:

Description

Adds an already registered taxonomy to an object type.

Related Functions

unregister_taxonomy_for_object_type, register_taxonomy, unregister_taxonomy, register_post_type, register_block_type

Top Google Results

User discussions

wpseek mobile