LLMS_Block_Library::register()

Register all blocks in the LifterLMS block library.


Return Return

(void)


Top ↑

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'] );
			}
		}

	}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.