Automattic\WooCommerce\Blocks\BlockTypes

SavedForLater::get_block_type_scriptprotectedWC 1.0

Get the frontend script handle for this block type.

Scripts are loaded via viewScriptModule in block.json.

Method of the class: SavedForLater{}

No Hooks.

Returns

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->get_block_type_script( $key );
$key(string|null)
The key of the script to get.
Default: null

SavedForLater::get_block_type_script() code WC 10.9.4

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