WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. billerby
    Member
    Posted 5 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic