admin_email_confirm_form
Action HookDescription
Fires inside the admin-email-confirm-form form tags, before the hidden fields.Hook Information
File Location |
wp-login.php
View on GitHub
|
Hook Type | Action |
Line Number | 683 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into admin_email_confirm_form
add_action('admin_email_confirm_form', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-login.php:683
- How this hook is used in WordPress core
<?php
678 /**
679 * Fires inside the admin-email-confirm-form form tags, before the hidden fields.
680 *
681 * @since 5.3.0
682 */
683 do_action( 'admin_email_confirm_form' );
684
685 wp_nonce_field( 'confirm_admin_email', 'confirm_admin_email_nonce' );
686
687 ?>
688 <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" />
PHP Documentation
<?php
/**
* Fires inside the admin-email-confirm-form form tags, before the hidden fields.
*
* @since 5.3.0
*/
Quick Info
- Hook Type: Action
- Parameters: 0
- File: wp-login.php
Related Hooks
Related hooks will be displayed here in future updates.