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 filter to exclude jQuery Masked Input from frm.min.js. The maskedinput JavaScript is used for the phone fields and other fields with custom pattern rules.
It can be used to resolve a known conflict with WooCommerce Stripe Gateway. It is now automatically detected, and it will load the maskedinput JavaScript separately to avoid conflict.
Usage
add_filter( 'frm_include_maskedinput_in_minified_js', '__return_false' );
Parameters
- None
Examples
Basic example
add_filter( 'frm_include_maskedinput_in_minified_js', '__return_false' );