eo_is_event_taxonomy
since 1.6
eo_is_event_taxonomy( $query = false )
Checks if the query is for an event taxonomy.
When no $query is passed, acts as a simple wrapper for is_tax()
.
More generally acts as a wrapper for $query->is_tax()
.
Parameters
|
$query = false |
- The query to check. If not passed, uses the global $wp_query;
|
Return value
bool
|
True if query is for any event taxonomy (e.g. 'event-venue', 'event-category', 'event-tag').
|
Changelog