Automattic\WooCommerce\Blocks\BlockTypes
ProductFilters::get_block_type_uses_context
Register the context.
Метод класса: ProductFilters{}
Хуков нет.
Возвращает
Строку[].
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_block_type_uses_context();
Код ProductFilters::get_block_type_uses_context() ProductFilters::get block type uses context WC 10.8.1
protected function get_block_type_uses_context() {
return array( 'postId', 'query', 'queryId' );
}