WooCommerce Code Reference

EnableBlockJsonAssetsTrait

Table of Contents

get_block_type_editor_style()  : null
Disable the editor style handle for this block type. We use block.json to load the style.
get_block_type_script()  : null
Disable the script handle for this block type. We use block.json to load the script.
get_block_type_style()  : null
Disable the style handle for this block type. We use block.json to load the style.

Methods

get_block_type_script()

Disable the script handle for this block type. We use block.json to load the script.

protected get_block_type_script([string|null $key = null ]) : null
Parameters
$key : string|null = null

The key of the script to get.

Return values
null