Automattic\WooCommerce\Blocks\BlockTypes

StoreNotices::get_block_type_scriptprotectedWC 1.0

Disable frontend script for this block type, it's a script module.

Method of the class: StoreNotices{}

No Hooks.

Returns

Array|String|null.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_block_type_script( $key );
$key(string)
Data to get, or default to everything.
Default: null

StoreNotices::get_block_type_script() code WC 10.4.3

protected function get_block_type_script( $key = null ) {
	return null;
}