WC_REST_Data_Countries_Controller::response_cache_vary_by_userprotectedWC 1.0

Whether the response cache should vary by user.

Method of the class: WC_REST_Data_Countries_Controller{}

No Hooks.

Returns

true|false. False since country data doesn't vary by user.

Usage

// protected - for code of main (parent) or child class
$result = $this->response_cache_vary_by_user( $request, ?string $endpoint_id ): bool;
$request(WP_REST_Request) (required)
.
?string $endpoint_id
.
Default: null

WC_REST_Data_Countries_Controller::response_cache_vary_by_user() code WC 10.8.1

protected function response_cache_vary_by_user( WP_REST_Request $request, ?string $endpoint_id = null ): bool { // phpcs:ignore Squiz.Commenting.FunctionComment.IncorrectTypeHint
	return false;
}