Automattic\WooCommerce\Blocks\BlockTypes\Accordion
AccordionHeader{}
AccordionHeader class.
Хуков нет.
Использование
$AccordionHeader = new AccordionHeader(); // use class methods
Методы
- protected get_block_type_script( $key = null )
- protected get_block_type_style()
Код AccordionHeader{} AccordionHeader{} WC 9.8.5
class AccordionHeader extends AbstractBlock { /** * Block name. * * @var string */ protected $block_name = 'accordion-header'; /** * Get the frontend style handle for this block type. * * @return string[]|null */ protected function get_block_type_style() { return null; } /** * Get the frontend script handle for this block type. * * @see $this->register_block_type() * @param string $key Data to get, or default to everything. * @return array|string|null */ protected function get_block_type_script( $key = null ) { return null; } }