How to query custom current endpoint?
-
Hello-
I have followed the Documentation to create a variety of custom endpoints. I was wondering how I could go about querying the current endpoint in order to conditionally display content.
In looking through the plugin code I notice
UR()->query->get_current_endpoint
and was hoping to use this to extract endpoint and conditionally display content as needed but while trying to use this it is just returning an empty string.Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to query custom current endpoint?’ is closed to new replies.