Automattic\WooCommerce\Blocks\BlockTypes

ProductTitle::get_block_type_supportspublicWC 1.0

Register script and style assets for the block type before it is registered.

This registers the scripts; it does not enqueue them.

Метод класса: ProductTitle{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ProductTitle = new ProductTitle();
$ProductTitle->parent::register_block_type_assets();

Код ProductTitle::get_block_type_supports() WC 9.9.3

parent::register_block_type_assets();
$this->register_chunk_translations( [ $this->block_name ] );
	}
}