LLMS_Blocks_Page_Builders::add_filters()

Add filters to support various page builder plugins.


Return Return

(void)


Top ↑

Source Source

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

	public static function add_filters() {

		if ( defined( 'FL_BUILDER_VERSION' ) ) {
			add_filter( 'llms_blocks_is_post_migrated', array( __CLASS__, 'check_for_beaver' ), 15, 2 );
		} elseif ( defined( 'ELEMENTOR_VERSION' ) ) {
			add_filter( 'llms_blocks_is_post_migrated', array( __CLASS__, 'check_for_elementor' ), 15, 2 );
		} elseif ( defined( 'ET_BUILDER_VERSION' ) ) {
			add_filter( 'llms_blocks_is_classic_enabled_for_post', array( __CLASS__, 'check_for_divi_classic' ), 15, 2 );
			add_filter( 'llms_blocks_is_post_migrated', array( __CLASS__, 'check_for_divi' ), 15, 2 );
		}

	}

Top ↑

Changelog 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.