WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are a couple of answers here basically just linking to a plugin - to be fair there are some more specific ones too. I know there are many possibilities to use different hooks for the customization. I really want to learn more about that, but where do it start?

share|improve this question
up vote 1 down vote accepted

For an general overview about hooks take a look at the codex page about the Plugin API:

This article is specifically about the API of "Hooks", also known as "Filters" and "Actions"

Besides that there is valuable information specifically about customizing the login and registration form available at the codex:

Customizing the Login Form

You can customize your WordPress login page with action hooks and filter hooks, including:

  • Actions in the of the document: login_enqueue_scripts, login_head.
  • Filters in the : login_headerurl, login_headertitle, login_message, login_errors.
  • Actions at the bottom of and below the form: login_form, login_footer.

Customizing The Registration Form

Theme and plugin developers can customize WordPress's built-in user registration page through the use of hooks.

Customizing the registration form involves utilizing the following three hooks:

  1. register_form
    Allows rendering of new HTML form elements.
  2. registration_errors
    Perform validation on form registration fields.
  3. user_register
    Save custom form data.

The information given above should get you started learning more about customizing those forms - besides that there are some good examples available too. Especially you get an first overview about the hooks you can use.
But those aren't all there are, so additionally take a look at the other available hooks for Adminstrative Actions you can use for further customizations of those forms. Not all of them are documented well (or at all), so it might be necessary to take a look at the source, for example wp-login.php and general-template.php - those are the sources for the 3.6 branch.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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