LLMS_Beaver_Builder::install()
Add LLMS post types to the enabled builder post types.
Description Description
Stub function called during install.
Return Return
(void)
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 );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 8.0.0 | Introduced. |