WP_Recovery_Mode_Cookie_Service::validate_cookie

SummerySummery

Validates the recovery mode cookie.

Syntax

WP_Recovery_Mode_Cookie_Service::validate_cookie( string $cookie = '' )

ParametersParameters

$cookie

(string) (Optional) y specify the cookie string. If omitted, it will be retrieved from the super global.

Default value: ''

ReturnReturn

(true|WP_Error) True on success, error object on failure.

SourceSource

File: wp-includes/class-wp-recovery-mode-cookie-service.php


			

ChangelogChangelog

Changelog
Version Description
5.2.0 Introduced.
Scroll to Top