LLMS_Blocks_Page_Builders::check_for_divi_classic( bool $val, mixed $post )

If the Divi “Enable Classic Editor” builder setting is enabled then classic is enabled for our purposes.

Parameters Parameters


(bool) (Required) default value.


(mixed) (Required) WP_Post or 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_divi_classic( $val, $post ) {

		if ( 'on' === et_get_option( 'et_enable_classic_editor', 'off' ) ) {
			$val = true;

		return $val;


Top ↑

Changelog Changelog

Version Description
1.3.4 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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