Created
July 1, 2025 11:48
-
-
Save xlplugins/cc03eadd5afae86a2e90828d94cb0364 to your computer and use it in GitHub Desktop.
Funnelkit Checkout: Disabled Zoom and autofill update for billing email field
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class WFACP_Billing_Email_Autofill_Disabled_zoom{ | |
public function __construct() { | |
add_filter( 'wfacp_forms_field', [ $this, 'add_css_class' ], 99, 2 ); | |
add_filter('wfacp_intial_scale_default','__return_true'); | |
} | |
function add_css_class( $field, $key ) { | |
if ( $key !== 'billing_email' || !isset($field['autocomplete'])) { | |
return $field; | |
} | |
$field['autocomplete']='email'; | |
return $field; | |
} | |
} | |
new WFACP_Billing_Email_Autofill_Disabled_zoom(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment