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: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Determines if the given object type is associated with the given taxonomy.