Automattic\WooCommerce\Blocks\BlockTypes
MiniCartContents::get_block_type_script
Get the frontend script handle for this block type.
Method of the class: MiniCartContents{}
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)
- Data to get, or default to everything.
Default: null
MiniCartContents::get_block_type_script() MiniCartContents::get block type script code WC 9.9.3
protected function get_block_type_script( $key = null ) { // The frontend script is a dependency of the Mini-Cart block so it's // already lazy-loaded. return null; }