I would like to customize the login-form page.

Is there a way as with the function get_the_content() for the article to get the content of the login page before it's send for output?

  • Plug-in recommendations are off topic, so I removed that part. Additionally it is a bit unclear what exactly you want, you should specify. Maybe you are looking for this information. Dec 31, 2015 at 0:08

1 Answer 1


There is wp_loginout() which will get you a simple login/logout form, and that content is filterable with the loginout hook, but the "login-form page" (by which I think you mean wp-login.php) is mostly hard-coded. There are a lot of hook in there that might be enough to do what you want though-- twenty-three hooks by my very sloppy count, so I'm not going to enumerate them. That doesn't count hooks in functions not in that file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.