Automattic\WooCommerce\Blocks\BlockTypes

ProductFilters::get_block_type_uses_contextprotectedWC 1.0

Register the context.

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

Хуков нет.

Возвращает

Строку[].

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_block_type_uses_context();

Код ProductFilters::get_block_type_uses_context() WC 9.9.4

protected function get_block_type_uses_context() {
	return array( 'postId', 'query', 'queryId' );
}