resetpass_form

resetpass_form

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.5.4

do_action('resetpass_form') is found 1 times:

  • /wp-login.php line 1060
    			 * @since 3.9.0
    			 *
    			 * @param WP_User $user User object of the user whose password is being reset.
    			 */
    			do_action( 'resetpass_form', $user );
    
    			?>
    			<input type="hidden" name="rp_key" value="<?php echo esc_attr( $rp_key ); ?>" />
    			<p class="submit reset-pass-submit">
    				<button type="button" class="button wp-generate-pw hide-if-no-js skip-aria-expanded"><?php _e( 'Generate Password' ); ?></button>
    				<input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e( 'Save Password' ); ?>" />