Hi,
I purchased your plugin and we are trying to create custom modules to meet our theme requirements.
We realized that the example is broken, and there are reasons for this:
- fl-custom-module-examples.php
“if(class_exists(‘FLBuilder’)) {” always returns false.
This code should be called inside WP loop (inside a hook), otherwise it will return false, as the main Beaver Builder plugin is not loaded yet.
Solution: wrap in a function and call it from action(‘init’).
- Once step 1 is fixed, fl_load_module_examples should be called directly and not from action(‘init’)