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
- $val
-
(bool) (Required) default value.
- $post
-
(mixed) (Required) WP_Post or WP_Post ID.
Return Return
(bool)
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; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.3.4 | Introduced. |