WC_REST_Data_Countries_Controller::response_cache_vary_by_user
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() 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;
}