I don't need my plugin running through wp-admin, including wp-login. How could I prevent it? is_admin works fine but i don't know how to ignore everything related to wp-admin (like wp-login.php). Thanks.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
Check the requested URI:
But it's probably better to use a white-list style:
These 3 tags should cover pretty much all of the front-end... |
|||||||||
|