LLMS_Blocks_Page_Builders::check_for_beaver( bool $val, int $post_id )

Add support for Beaver Builder.

Description Description

If the builder is enabled for the post LifterLMS should treat the post as not migrated (actions are not removed).

Top ↑

Parameters Parameters


(bool) (Required) default value of the migration status.


(int) (Required) WP_Post ID.

Top ↑

Return Return


Top ↑

Source Source

File: libraries/lifterlms-blocks/includes/class-llms-blocks-page-builders.php

	public static function check_for_beaver( $val, $post_id ) {

		// If Beaver Builder is enabled for the post, don't remove actions.
		if ( FLBuilderModel::is_builder_enabled( $post_id ) ) {
			$val = false;

		return $val;


Top ↑

Changelog Changelog

Version Description
1.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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