Changeset 53178
- Timestamp:
- 04/14/2022 06:22:37 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r53060 r53178 3095 3095 * @since 6.0.0 3096 3096 * 3097 * @param bool $send Whether to send the email. 3098 */ 3099 if ( ! apply_filters( 'send_retrieve_password_email', true ) ) { 3097 * @param bool $send Whether to send the email. 3098 * @param string $user_login The username for the user. 3099 * @param WP_User $user_data WP_User object. 3100 */ 3101 if ( ! apply_filters( 'send_retrieve_password_email', true, $user_login, $user_data ) ) { 3100 3102 return true; 3101 3103 } … … 3191 3193 ); 3192 3194 3193 $data = compact( 'key', 'user_login', 'user_data' );3194 3195 3195 /** 3196 3196 * Filters the contents of the reset password notification email sent to the user. … … 3206 3206 * @type string $headers The headers of the email. 3207 3207 * } 3208 * @param array $data { 3209 * Additional information for extenders. 3210 * 3211 * @type string $key The activation key. 3212 * @type string $user_login The username for the user. 3213 * @type WP_User $user_data WP_User object. 3214 * } 3215 */ 3216 $notification_email = apply_filters( 'retrieve_password_notification_email', $defaults, $data ); 3208 * @type string $key The activation key. 3209 * @type string $user_login The username for the user. 3210 * @type WP_User $user_data WP_User object. 3211 */ 3212 $notification_email = apply_filters( 'retrieve_password_notification_email', $defaults, $key, $user_login, $user_data ); 3217 3213 3218 3214 if ( $switched_locale ) {
Note: See TracChangeset
for help on using the changeset viewer.