W3cubDocs

/WordPress

apply_filters( 'recovery_mode_cookie_length', int $length )

Filter 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 on Trac

Changelog

Version Description
5.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/recovery_mode_cookie_length