On this page
apply_filters( 'user_request_key_expiration', int $expiration )
Filters the expiration time of confirm keys.
Parameters
$expirationint-
The expiration time in seconds.
Source
File: wp-includes/user.php. View all references
$expiration_duration = (int) apply_filters( 'user_request_key_expiration', DAY_IN_SECONDS );
Related
Used By
| Used By | Description |
|---|---|
| wp_validate_user_request_key() wp-includes/user.php | Validates a user request by comparing the key with the request’s key. |
| _wp_personal_data_cleanup_requests() wp-admin/includes/privacy-tools.php | Cleans up failed and expired requests before displaying the list table. |
Changelog
| Version | Description |
|---|---|
| 4.9.6 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/user_request_key_expiration