1. Home
  2. Filters
  3. Filter reference: wpforms_field_credit_card_enable

apply_filters( 'wpforms_field_credit_card_enable', $enable_cc )

Determines whether Credit Card field will be displayed in form builder.


The wpforms_field_credit_card_enable filter is applied when the form builder loads. Though the Credit Card field will by default only be available when the Stripe addon is active, this filter can be used to enable the Credit Card field without any addon.


(bool) (Required) Determines whether field will display, default is false (do not display)



Updated on May 14, 2018

Was this article helpful?