Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-recovery-mode-cookie-service.php | apply_filters | 46 | /** * Filters the length of time a Recovery Mode cookie is valid for. * * @since 5.2.0 * * @param int $length Length in seconds. */ |
wp-includes/class-wp-recovery-mode-cookie-service.php | apply_filters | 99 | /** * Validates the recovery mode cookie. * * @since 5.2.0 * * @param string $cookie Optionally specify the cookie string. * If omitted, it will be retrieved from the super global. * @return true|WP_Error True on success, error object on failure. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $length | Length in seconds. |
int | $length | Length in seconds. |