apply_filters( 'recovery_mode_cookie_length', int $length )
Filters the length of time a Recovery Mode cookie is valid for.
Parameters
-
$length
int -
Length in seconds.
Source
File: wp-includes/class-wp-recovery-mode-cookie-service.php
.
View all references
$length = apply_filters( 'recovery_mode_cookie_length', WEEK_IN_SECONDS );
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |