Automattic\WooCommerce\Blocks\BlockTypes
PageContentWrapper::get_block_type_script()
It isn't necessary to register block assets.
Метод класса: PageContentWrapper{}
Хуков нет.
Возвращает
Массив|Строку|null
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_block_type_script( $key );
- $key(строка)
- Data to get, or default to everything.
По умолчанию: null
Код PageContentWrapper::get_block_type_script() PageContentWrapper::get block type script WC 9.8.5
protected function get_block_type_script( $key = null ) { return null; }