How to detect if PHP is running inside Widget?
I know by default that WP does not process shortcodes in widgets but there are ways around that restriction.
So ...
My plugin uses a shortcode and I want to prevent it from running if the shortcode is placed in a widget. I need a bit of PHP that will detect if the shortcode is placed within a widget.
Can anyone help?
Thanks in advance.
Will
http://graphicriver.net/user/723media/portfolio
Are you ready to finally launch your product?
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."