Hide specific page query non-admin
-
Hi everyone,
This might be very easy but I can’t figure it out with googling.
I would like to hide a specific function/page for non-admin users. It’s from and events calendar plugin. We would like to hide the attendees for users except from the administrator. This is all in the back-end of the wordpress site.
The attendee list screen is visible when the post type is `TribeEvents::POSTTYPE and the page query:
$_GET[‘page’]
is:
tickets-attendees`
How can I hide the tickets-attendees page query for non-admin users?
The topic ‘Hide specific page query non-admin’ is closed to new replies.