lostpassword_form
Fires inside the lostpassword form tags, before the hidden fields.
Description
do_action( 'lostpassword_form' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'lostpassword_form' );
- The following example is for adding a hook callback.
- // define the lostpassword_form callback
- function action_lostpassword_form( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'lostpassword_form', 'action_lostpassword_form', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'lostpassword_form', 'action_lostpassword_form', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /wp-login.php
- do_action( 'lostpassword_form' ); ?>