You appear to be a bot. Output may be restricted
Description
Registers the block type with WordPress.
Usage
AbstractDynamicBlock::register_block_type();
Parameters
Returns
void
Source
File name: woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractDynamicBlock.php
Lines:
1 to 14 of 14
public function register_block_type() { register_block_type( $this->namespace . '/' . $this->block_name, array( 'render_callback' => array( $this, 'render' ), 'editor_script' => 'wc-' . $this->block_name, 'editor_style' => 'wc-block-editor', 'style' => 'wc-block-style', 'attributes' => $this->get_attributes(), 'supports' => [], ) ); }