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