Disable minification and caching with WP_DEBUG
It is a best practice to set WP_DEBUG to true during development to catch errors that might not otherwise show. Setting WP_DEBUG to true in your wp-config.php file will have the following effects:
- 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.
By default, 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.
- Search for WP_DEBUG and 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.