Automattic\WooCommerce\Blocks\BlockTypes

ProductPrice::get_block_type_uses_context()protectedWC 1.0

Register the context.

Method of the class: ProductPrice{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

ProductPrice::get_block_type_uses_context() code WC 9.8.5

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