WordPress at a glance
action is not described

login_form_(action) action-hook . WP 2.8.0

Fires before a specified login form action.

The dynamic portion of the hook name, $action, refers to the action that brought the visitor to the login form. Actions include 'postpass', 'logout', 'lostpassword', etc.


add_action( 'login_form_(action)', 'action_function_name_3128' );
function action_function_name_3128(){
	// action...


Since 2.8.0 Introduced.

Where the hook is called

In file: /wp-login.php
wp-login.php 568
do_action( "login_form_{$action}" );

Where in WP core the hook is used WordPress

wp-login.php 95
add_action( 'login_form_' . self::EXIT_ACTION, array( $this, 'handle_exit_recovery_mode' ) );