Automattic\WooCommerce\Caches
OrderCountCache::get_saved_statuses_cache_key
Get the cache key for saved statuses of the given order type.
Метод класса: OrderCountCache{}
Хуков нет.
Возвращает
Строку. The cache key.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_saved_statuses_cache_key( $order_type );
- $order_type(строка) (обязательный)
- The type of order.
Код OrderCountCache::get_saved_statuses_cache_key() OrderCountCache::get saved statuses cache key WC 11.0.1
private function get_saved_statuses_cache_key( string $order_type ) {
return $this->cache_prefix . '_' . $order_type . '_statuses';
}