[ad_1]
The filter I found in an older thread does not appear to be working to style the “updated checkout experience” form:
add_filter('wc_stripe_get_element_options', function($options, $gateway){
if($gateway->id === 'stripe_cc'){
$options['appearance']['variables'] = array('colorText' => '#fff');
}
return $options;
}, 10, 2);
I’d like to be able to edit variables and rules per the docs, but I’m not sure anything has changed with the new form where this old snippet might not be applicable anymore. If someone can please provide a snippet filter for variables and rules it would be appreciated, thanks.