login_form_logout
Fires before a specified login form action.
This is one of the variants of the dynamic hook login_form_(action)
Usage
add_action( 'login_form_logout', 'wp_kama_login_form_logout_action' ); /** * Function for `login_form_logout` action-hook. * * @return void */ function wp_kama_login_form_logout_action(){ // action... }
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
In file: /wp-login.php
login_form_logout
wp-login.php 564
do_action( "login_form_{$action}" );