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