LLMS_Blocks_Abstract_Block::__construct()
Constructor.
Contents
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-abstract-block.php
public function __construct() {
if ( $this->is_dynamic ) {
register_block_type(
$this->get_block_id(),
array(
'attributes' => $this->get_attributes(),
'render_callback' => array( $this, 'render_callback' ),
)
);
}
$this->register_meta();
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |