wppaste
WordPress

do_action( "login_form_{$action}" )

Since
2.8.0
Fires before a specified login form action.

Description

The dynamic portion of the hook name, $action, refers to the action that brought the visitor to the login form.

Possible hook names include:

  • login_form_checkemail
  • login_form_confirm_admin_email
  • login_form_confirmaction
  • login_form_entered_recovery_mode
  • login_form_login
  • login_form_logout
  • login_form_lostpassword
  • login_form_postpass
  • login_form_register
  • login_form_resetpass
  • login_form_retrievepassword
  • login_form_rp

Compatibility

WordPress
since 2.8.0
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Where this hook fires · 1

  • wp-login.php:565file scope

Changelog

Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.