public check_user_password ( mixed $value, WP_REST_Request $request, string $param ) : WP_Error | string | ||
$value | mixed | The password submitted in the request. |
$request | WP_REST_Request | Full details about the request. |
$param | string | The parameter name. |
return | WP_Error | string | The sanitized password, if valid, otherwise an error. |