WC_REST_Data_Currencies_Controller::response_cache_vary_by_userprotectedWC 1.0

Whether the response cache should vary by user.

Метод класса: WC_REST_Data_Currencies_Controller{}

Хуков нет.

Возвращает

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

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->response_cache_vary_by_user( $request, ?string $endpoint_id ): bool;
$request(WP_REST_Request) (обязательный)
.
?string $endpoint_id
.
По умолчанию: null

Код WC_REST_Data_Currencies_Controller::response_cache_vary_by_user() WC 11.0.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;
}