Automattic\WooCommerce\Blocks\BlockTypes
ProductImageGallery::get_block_type_uses_context
Register the context
@return string[]
Method of the class: ProductImageGallery{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->get_block_type_uses_context();
ProductImageGallery::get_block_type_uses_context() ProductImageGallery::get block type uses context code WC 10.5.0
protected function get_block_type_uses_context() {
return array( 'query', 'queryId', 'postId' );
}