tribe_community_tickets_is_frontend_attendees_report()
A handy function for knowing if we’re on a front-end Attendees Report.
Return
(boolean)
Source
File: src/functions/template-tags.php
function tribe_community_tickets_is_frontend_attendees_report() { $wp_route = get_query_var( 'WP_Route' ); return ! empty( $wp_route ) && 'view-attendees-report-route' === $wp_route; }
Changelog
Version | Description |
---|---|
4.6.2 | Introduced. |