executing javascript onload in wp-login.php
-
Hi!
Is it possible to (without modifying wp core files) have a javascript to execute onLoad in the wp-login.php page? Normally when I need this kind of behaviour I call a function upon the admin_init or init action. However since the user is not logged in in this case this seems not to be possible. Calling it with login_head, does not work since its to late for onLoad behaviour. What I want to do in the javascript is to hide the text “Register”, without disabling the register function.
Thanks!
/Erik
- The topic ‘executing javascript onload in wp-login.php’ is closed to new replies.