This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
Use this hook if you want the dropzone to be included separately from frm.min.js.
It can be used to resolve a conflict that prevents dropzone uploads when a form is loaded on a BuddyBoss documents page. It won't happen immediately. You would need to run add_action( 'plugins_loaded', 'FrmAppHelper::save_combined_js' ); once to regenerate the JS (but you do not want to run that on every page load, just the first filter).
Usage
add_filter( 'frm_include_dropzone_in_minified_js', '__return_false' );
Parameters
- None
Examples
Basic example
add_filter( 'frm_include_dropzone_in_minified_js', '__return_false' );