Automattic\WooCommerce\Blocks\BlockTypes

ProductSummary::get_block_type_uses_contextprotectedWC 1.0

Register the context.

Method of the class: ProductSummary{}

No Hooks.

Returns

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->get_block_type_uses_context();

ProductSummary::get_block_type_uses_context() code WC 9.9.3

protected function get_block_type_uses_context() {
	return [ 'query', 'queryId', 'postId' ];
}