Automattic\WooCommerce\Blocks\BlockTypes
ProductPrice::get_block_type_supports
Get the frontend style handle for this block type.
Метод класса: ProductPrice{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$ProductPrice = new ProductPrice(); $ProductPrice->return null;
Код ProductPrice::get_block_type_supports() ProductPrice::get block type supports WC 9.9.3
return null; } /** * Overwrite parent method to prevent script registration. * * It is necessary to register and enqueues assets during the render * phase because we want to load assets only if the block has the content. */ protected function register_block_type_assets() { return null; } /** * Register the context. */ protected function get_block_type_uses_context() {