do_action_ref_array( 'wp_authenticate', string $user_login, string $user_password )
- Since
- 1.5.1
Fires before the user is authenticated.
Description
The variables passed to the callbacks are passed by reference, and can be modified by callback functions.
Parameters
$user_loginstring- Username (passed by reference).
$user_passwordstring- User password (passed by reference).
Fired at · 1
wp-includes/user.php:81wp_signon()
Source
* * @todo Decide whether to deprecate the wp_authenticate action. * * @param string $user_login Username (passed by reference). * @param string $user_password User password (passed by reference). */ do_action_ref_array( 'wp_authenticate', array( &$credentials['user_login'], &$credentials['user_password'] ) ); if ( '' === $secure_cookie ) { $secure_cookie = is_ssl(); } /**History
Introduced in 1.5.1. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.