HI @thankssforhelp
Could you give an example of how to use this filter? Unfortunately I couldn’t get any results using it as a css selector.
It’s a filter as in WordPress filter hook. It cannot be used as CSS selector but rather as a way to “attach” or “execute” your own PHP code to process some data.
So basically you can use PHP code to “adjust” HTML markup of that given field. But in this case it wouldn’t really help much over whatever you can already achieve with standard CSS.
What you can do instead is
– to some extent use form Appearance settings that my colleague mentioned
– additionally do check the classes defined in “Styling” section of Stripe field settings in the form; you can change those classes there but it’s not necessary really; you can however use those classes – again, to some extent – in your own custom CSS.
This is all only partial styling, I’m afraid, but the reason for this is that – as mentioned – that all that stripe output is inside dynamically generated (by Stripe’s JS scripts) iframe element (so kind of “browser inside browser”).
Kind regards,
Adam