How to tell when in a sidebar?
-
I’m writing a filter that needs to know when it’s called as part of generating the sidebar content. I can’t find any functions or variables I can check. (Was hoping for something like is_sidebar). Anyone know how to check this? I’m using widgets.
- The topic ‘How to tell when in a sidebar?’ is closed to new replies.