Automattic\WooCommerce\Blocks\BlockTypes

AbstractBlock::get_block_type_uses_context()protectedWC 1.0

Get block usesContext.

Method of the class: AbstractBlock{}

No Hooks.

Return

Array;.

Usage

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

AbstractBlock::get_block_type_uses_context() code WC 9.4.2

protected function get_block_type_uses_context() {
	return [];
}