Automattic\WooCommerce\Blocks\BlockTypes

StoreNotices::get_block_type_script │ protected │ WC 1.0

Disable frontend script for this block type, it's a script module.

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

Хуков нет.

Возвращает

array|string|null.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_block_type_script( $key );
$key(строка)
Data to get, or default to everything.
По умолчанию: null

Код StoreNotices::get_block_type_script() WC 11.3.0

protected function get_block_type_script( $key = null ) {
	return null;
}