WP_Recovery_Mode_Cookie_Service
- Since
- 5.2.0
- Source
wp-includes/class-wp-recovery-mode-cookie-service.php:14
Core class used to set, validate, and clear cookies that identify a Recovery Mode session.
Compatibility
- WordPress
- since 5.2.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Hooks and filters fired · 2
Every hook that fires from inside WP_Recovery_Mode_Cookie_Service, in the order it appears in the class, grouped by the method that fires it.
Methods · 8
- is_cookie_set()Checks whether the recovery mode cookie is set.
- set_cookie()Sets the recovery mode cookie.
- clear_cookie()Clears the recovery mode cookie.
- validate_cookie()Validates the recovery mode cookie.
- get_session_id_from_cookie()Gets the session identifier from the cookie.
- parse_cookie()Parses the cookie into its four parts.
- generate_cookie()Generates the recovery mode cookie value.
- recovery_mode_hash()Gets a form of `wp_hash()` specific to Recovery Mode.
Changelog
Introduced in 5.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, from
src/wp-includes/class-wp-recovery-mode-cookie-service.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.