It is a best practice to set WP_DEBUG
true during development to catch errors that might not otherwise show.
WP_DEBUG to true in your wp-config.php file will have the
- The compiled css/js files that are normally stored in the /uploads/bb-plugin/cache directory will be unminified and regenerated on every page load.
- It will disable minification and concatenation of the core UI files in the /plugins/bb-plugin/js/_ and /plugins/bb-plugin/css/* directories.
WP_DEBUG is set to false in wp-config.php.
To change the WP_DEBUG setting:
In the main WordPress directory for your site, open wp-config.php for editing.
WP_DEBUGand change the setting to true, as follows:define( 'WP_DEBUG', true );
When WP_DEBUG is set to false, all of the core UI files in the /plugins /bb-plugin/js/ and /plugins/bb-plugin/css/ directories will be minified and concatenated into fl-builder.min.css and fl-builder.min.js.
Alternatively, you can use the
fl_is_debug filter which performs the same as setting
true. Simply add the snippet below to your child theme's functions.php file.