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