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