wp-login.php filter
-
Hi there,
I want to disable a plugin site-wide but enable it on wp-login.php
I tried to add a new Plugin Filter, but I have something wrong because it’s not working (the plugin isn’t enabled when I go to:
http://mydomain.com/wp-login.php?loggedout=truebut it works when I go to
http://mydomain.com/wp-login.php
)So basically..
1.) I disabled the particular plugin I want disabled in Global Filters..
2.) Then created a new filter called ‘Login Screen’
3.) In the permalink I have ‘http://mydomain.com/wp-login.php’
4.) I enabled the relevant plugins and disabled the other plugins from the options of what I want enabled (it’s a wordpress login plugin that just customizes the logo / background and links of the wp-login.php page)
5.) Checked ‘Also Affect Children’
6.) Saved, logged out.. tested.. but it doesn’t work.Do I need to create a new url for every combination of wp-login.php? for it to work?
ie.:
http://mydomain.com/wp-login.php?loggedout=true http://mydomain.com/wp-login.php?redirect= http://mydomain.com/wp-login.php?action=registeretc.
or should the ‘also affect children’ work ?
Kind Regards,
Penny
The topic ‘wp-login.php filter’ is closed to new replies.