Automattic\WooCommerce\Blocks\BlockTypes
ProductStockIndicator::register_block_type_assets
Register script and style assets for the block type before it is registered.
This registers the scripts; it does not enqueue them.
Метод класса: ProductStockIndicator{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->register_block_type_assets();
Код ProductStockIndicator::register_block_type_assets() ProductStockIndicator::register block type assets WC 11.2.2
protected function register_block_type_assets() {
return null;
}