Automattic\WooCommerce\Blocks\BlockTypes

MiniCartContents::get_block_type_script()protectedWC 1.0

Get the frontend script handle for this block type.

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

Хуков нет.

Возвращает

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

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

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

Код MiniCartContents::get_block_type_script() WC 8.7.0

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;
}