is_object_in_taxonomy


is_object_in_taxonomy ( $object_type, $taxonomy )

Parameters:
  • (string) object_type Object type string.
  • (string) taxonomy Single taxonomy name.
Returns:
  • (bool) True if object is associated with the taxonomy, otherwise false.
Defined at:

Description

Determines if the given object type is associated with the given taxonomy.

Related Functions

is_object_in_term, get_object_taxonomies, is_taxonomy, get_taxonomy, get_objects_in_term

Top Google Results

User discussions

wpseek mobile