Automattic\WooCommerce\Blocks\BlockTypes
PageContentWrapper::get_block_type_script
It isn't necessary to register block assets.
Method of the class: PageContentWrapper{}
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
PageContentWrapper::get_block_type_script() PageContentWrapper::get block type script code WC 10.3.6
protected function get_block_type_script( $key = null ) {
return null;
}