Automattic\WooCommerce\Caches
OrderCountCache::get_saved_statuses_cache_key
Get the cache key saved statuses of the given order type.
Method of the class: OrderCountCache{}
No Hooks.
Returns
String. The cache key.
Usage
// private - for code of main (parent) class only $result = $this->get_saved_statuses_cache_key( $order_type );
- $order_type(string) (required)
- The type of order.
OrderCountCache::get_saved_statuses_cache_key() OrderCountCache::get saved statuses cache key code WC 10.8.1
private function get_saved_statuses_cache_key( string $order_type ) {
return $this->cache_prefix . '_' . $order_type . '_statuses';
}