LLMS_Beaver_Builder::install()

Add LLMS post types to the enabled builder post types.


Description Description

Stub function called during install.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class-llms-beaver-builder.php

	public function install() {
		if ( ! $this->is_available() ) {
			return;
		}

		$existing = get_option( '_fl_builder_post_types', array( 'page' ) );
		$types    = array_unique( array_merge( $existing, array( 'course', 'lesson', 'llms_membership' ) ) );
		update_option( '_fl_builder_post_types', $types );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
8.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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