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