Automattic\WooCommerce\Blocks\BlockTypes
ProductFilterAttribute::get_block_type_script
Disable the script handle for this block type. We use block.json to load the script.
Method of the class: ProductFilterAttribute{}
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
ProductFilterAttribute::get_block_type_script() ProductFilterAttribute::get block type script code WC 9.9.4
protected function get_block_type_script( $key = null ) { return null; }