Summery Summery
Determine if the given object type is associated with the given taxonomy.
Syntax Syntax
Parameters Parameters
- $object_type
-
(Required) Object type string.
- $taxonomy
-
(Required) Single taxonomy name.
Return Return
(bool) True if object is associated with the taxonomy, otherwise false.
Source Source
File: wp-includes/taxonomy.php
} if ( empty( $t['template'] ) ) { $t['template'] = $args['template']; } if ( empty( $t['term_template'] ) ) { $t['term_template'] = $args['term_template']; }
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |