LLMS_Block_Library::register()
Register all blocks in the LifterLMS block library.
Return Return
(void)
Source Source
File: includes/class-llms-block-library.php
public function register() { foreach ( $this->get_blocks() as $id => $block ) { if ( $this->should_register( $id, $block ) ) { register_block_type( $block['path'] ); } } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |