Automattic\WooCommerce\Blocks\BlockTypes

ProductGalleryLargeImage::get_block_type_uses_contextprotectedWC 1.0

Register the context

@return string[]

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

Хуков нет.

Возвращает

null. Ничего (null).

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

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

Код ProductGalleryLargeImage::get_block_type_uses_context() WC 10.4.2

protected function get_block_type_uses_context() {
	return [ 'postId', 'hoverZoom', 'fullScreenOnClick' ];
}