executing javascript onload in wp-login.php (1 post)

  1. billerby
    Posted 6 years ago #


    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.


Topic Closed

This topic has been closed to new replies.

About this Topic