WordPress action hook

woocommerce_credit_card_form_start

Defined by WooCommerce and fired by 95 plugins in total, running on 7M+ sites between them.

“Fires before the Clover Elements credit card fields render.”

How to use woocommerce_credit_card_form_start

It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'woocommerce_credit_card_form_start', function( $id ) {
	// Your code runs here.
}, 10, 1 );

Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

95 plugins that fire woocommerce_credit_card_form_start

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. WooCommerce icon WooCommerce7+ million installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/gateways/class-wc-payment-gateway-cc.php:86
  2. Nexi XPay icon Nexi XPay7,000+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) src/classes/Nexi/WC_Gateway_XPay_Cards_Build.php:153
  3. PagBank for WooCommerce icon PagBank for WooCommerce4,000+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) src/core/Gateways/CreditCardPaymentGateway.php:695
  4. CHIP for WooCommerce icon CHIP for WooCommerce4,000+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-chip-woocommerce-gateway.php:4164
  5. PagBank / PagSeguro e Vindi para WooCommerce icon PagBank / PagSeguro e Vindi para WooCommerce3,000+ installs do_action( 'woocommerce_credit_card_form_start', Connect::DOMAIN ) src/templates/payments/creditcard.php:98
  6. Pledged Plugins PCI Gateway for NMI and WooCommerce icon Pledged Plugins PCI Gateway for NMI and WooCommerce2,000+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wc-gateway-nmi.php:373
  7. Tilopay icon Tilopay2,000+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/WCTilopay.php:822
  8. Payments via PayMongo for WooCommerce icon Payments via PayMongo for WooCommerce1,000+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) classes/CynderPayMongoGateway.php:263
  9. XL NMI Gateway for WooCommerce icon XL NMI Gateway for WooCommerce800+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-nmi-gateway-woocommerce-base.php:598
  10. YAPE A1 Tiendas icon YAPE A1 Tiendas800+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) pagos-moviles-peru.php:139
  11. Express Checkout via PayPal for WooCommerce icon Express Checkout via PayPal for WooCommerce800+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) ppcp/includes/class-ppcp-paypal-checkout-for-woocommerce-gateway.php:114
  12. CIELO API PIX, credit card, debit payment for WooCommerce icon CIELO API PIX, credit card, debit payment for WooCommerce700+ installs do_action( 'woocommerce_credit_card_form_start', $gateway_id ) includes/templates/lkn-cielo-credit-payment-fields-default-layout.php:35
  13. Clover Payment Gateway by Zaytech for WooCommerce icon Clover Payment Gateway by Zaytech for WooCommerce500+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/woocci_zay_gateway.php:187
  14. Tara360 Gateway icon Tara360 Gateway500+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wc-gateway-tara360.php:237
  15. ONVO Pay icon ONVO Pay400+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-gateway-onvo-pay.php:584
  16. Elavon Payment Gateway for WooCommerce icon Elavon Payment Gateway for WooCommerce300+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) src/ConvergeGateway.php:1773
  17. CoffeeCode icon CoffeeCode300+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) views/partials/checkout/creditcard.php:18
  18. Sola Payment Gateway for WooCommerce icon Sola Payment Gateway for WooCommerce300+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wc-gateway-cardknox.php:203
  19. Walletdoc Payment Gateway for WooCommerce icon Walletdoc Payment Gateway for WooCommerce200+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/common/abstract-wc-walletdoc-payment.php:155
  20. YouCan Pay icon YouCan Pay200+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wc-gateway-youcanpay.php:167
  21. Authorize.Net/eProcessing Network Payment Gateway for WooCommerce icon Authorize.Net/eProcessing Network Payment Gateway for WooCommerce100+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) authorize.net-woocommerce-lightweight-addon.php:332
  22. e-SCOTT Smart light for WooCommerce icon e-SCOTT Smart light for WooCommerce100+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-spfwc-light-payment-gateway.php:453
  23. Wizit Gateway for WooCommerce icon Wizit Gateway for WooCommerce100+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) class-wizit-gateway.php:915
  24. Kuroneko Web Collect for Woo icon Kuroneko Web Collect for Woo100+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-kupaywc-payment-gateway.php:370
  25. pay bi icon pay bi100+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) ebi_pay_classic_gateway.php:233
  26. WaafiPay Payment Gateway icon WaafiPay Payment Gateway100+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/abstracts/abstract-wc-gateway-waafi.php:145
  27. Paymentfor Gateway for WooCommerce icon Paymentfor Gateway for WooCommerce90+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-paymentfor-wc-payment-gateway.php:491
  28. Gain Commerce NMI Payment Gateway for WooCommerce icon Gain Commerce NMI Payment Gateway for WooCommerce90+ installs do_action( 'woocommerce_credit_card_form_start', $apnmi_gateway_id ) template/public/wc-payment-fields.php:69
  29. Complete PayPal Payments For WooCommerce icon Complete PayPal Payments For WooCommerce80+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-complete-paypal-payments-for-woocommerce-gateway.php:110
  30. NMI for WooCommerce icon NMI for WooCommerce70+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/creditcard.php:797
  31. SwiftPay Payment Gateway for WooCommerce icon SwiftPay Payment Gateway for WooCommerce70+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) swiftpay.php:150
  32. MerchantOne Payment Gateway WooCommerce Addon icon MerchantOne Payment Gateway WooCommerce Addon70+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) webmicro-merchantone-woo-addon.php:276
  33. Network Merchant Payment Gateway for WooCommerce icon Network Merchant Payment Gateway for WooCommerce60+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) webmicro-nmi-woo-addon.php:254
  34. Avify icon Avify50+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) avify-payments-gateway.php:350
  35. RCOMGateway by RConsolidate icon RCOMGateway by RConsolidate40+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) rc_ombf-gateway.php:147
  36. Payroc Gateway for WooCommerce icon Payroc Gateway for WooCommerce40+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-payroc-gateway.php:652
  37. Worldnet Payments Gateway for WooCommerce icon Worldnet Payments Gateway for WooCommerce40+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-worldnetpayments-gateway.php:652
  38. Beyond Pay for WooCommerce icon Beyond Pay for WooCommerce30+ installs do_action( 'woocommerce_credit_card_form_start', 'beyond_pay' ) includes/wc-beyond-pay-gateway.php:344
  39. Takepayments Mercury Payment Gateway icon Takepayments Mercury Payment Gateway30+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/payment-gateway/takepayments-mercury-gateway.php:178
  40. Bluepay Payment Gateway WooCommerce Addon icon Bluepay Payment Gateway WooCommerce Addon30+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) webmicro-bluepay-woo.php:311
  41. Marketing 360® Payments for WooCommerce icon Marketing 360® Payments for WooCommerce30+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wc-gateway-stripe.php:376
  42. TK Paybill and Till Checkout for M-Pesa icon TK Paybill and Till Checkout for M-Pesa30+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) tk-mpesa-for-woo.php:244
  43. goEmerchant Payment Gateway Plugin for WooCommerce icon goEmerchant Payment Gateway Plugin for WooCommerce30+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wc-gateway-goe.php:960
  44. e-SCOTT Smart pro for WooCommerce icon e-SCOTT Smart pro for WooCommerce20+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-spfwc-payment-gateway.php:529
  45. Evergreen Payments Northwest Gateway For WooCommerce icon Evergreen Payments Northwest Gateway For WooCommerce20+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wceg-gateway.php:409
  46. e2payments-wp Payment for Woocommerce icon e2payments-wp Payment for Woocommerce20+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) woocommerce.php:122
  47. PayPal Payflow Pro Payment gateway for WooCommerce icon PayPal Payflow Pro Payment gateway for WooCommerce20+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) webmicro-payflowpro-woo-addon.php:351
  48. Pagalo icon Pagalo20+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) admin/helpers/class-wc-gateway-pagalo-cuotas.php:225
  49. BulletProof Payment Gateway icon BulletProof Payment Gateway10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wc-bulletproof-payment-gateway-lite.php:606
  50. Poslivo Payment Gateway for Tosla İşim icon Poslivo Payment Gateway for Tosla İşim10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class/class-poslivo-tosla-isim-gateway.php:1474
  51. Rappibank Gateway icon Rappibank Gateway10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) view/creditcardform.php:4
  52. MerchantX Gateway for WooCommerce icon MerchantX Gateway for WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) class/merchantx_gateway.php:330
  53. Younited Pay Payment Gateway icon Younited Pay Payment Gateway10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) src/WcYounitedpayGateway.php:595
  54. PayPal Website Payments Pro for WooCommerce icon PayPal Website Payments Pro for WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) paypalpro-woocommerce-addon.php:194
  55. Braintree Payment Gateway For WooCommerce icon Braintree Payment Gateway For WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) webmicro-braintree-woo-addon.php:215
  56. RedPay Payment Gateway icon RedPay Payment Gateway10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) redpay.php:380
  57. Woo Braintree Payment icon Woo Braintree Payment10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) include/woo-mynix-braintree.php:95
  58. Ecrypt Payment Gateway for WooCommerce icon Ecrypt Payment Gateway for WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/classes/ecrypt-payment-gateway-method.php:557
  59. Payment Gateway for Nuvei on WooCommerce icon Payment Gateway for Nuvei on WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) wc-nuvei-payment-gateway.php:264
  60. Payment in-Lire Gateway icon Payment in-Lire Gateway10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wc-gateway-inlire.php:141
  61. SkySystemz icon SkySystemz10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) SkySystemz-woocommerceCheckout.php:101
  62. Subscreasy Payment Gateway for Woocommerce Subscriptions icon Subscreasy Payment Gateway for Woocommerce Subscriptions10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) class-wc-gateway-subscreasy.php:414
  63. Quikly Payment Gateway icon Quikly Payment Gateway10+ installs do_action( 'woocommerce_credit_card_form_start' ) xchange.php:490
  64. 1stPayGateway for WooCommerce icon 1stPayGateway for WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wc-gateway-1stpay.php:960
  65. CoreGateway Payment Gateway icon CoreGateway Payment Gateway10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) corepayments-gateway.php:244
  66. OrendaPay icon OrendaPay10+ installs do_action( 'woocommerce_credit_card_form_start', 'orendapay' ) woo-orendapay.php:460
  67. Payments for pagoUno on WooCommerce icon Payments for pagoUno on WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/gateway.php:457
  68. Neopayment icon Neopayment10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) class-neopayment-cc.php:153
  69. NMI Payment Gateway for WooCommerce icon NMI Payment Gateway for WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/cc.php:1107
  70. Tunl Payment Gateway for WooCommerce icon Tunl Payment Gateway for WooCommerce10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) class-wc-tunl-gateway.php:305
  71. APPpago icon APPpago10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) templates/form.php:9
  72. LatPay Direct Payment Gateway icon LatPay Direct Payment Gateway10+ installs do_action( 'woocommerce_credit_card_form_start', $this->id ) hps-checkout-gateway.php:178
  73. Gateway Wizard with NMI for WooCommerce icon Gateway Wizard with NMI for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $id ) src/Adapters/WooCommerce/Gateway.php:676
  74. Gateway Wizard with Authorize.net for WooCommerce icon Gateway Wizard with Authorize.net for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $id ) src/Adapters/WooCommerce/Gateway.php:676
  75. Goopter advanced integration for PayPal Complete Payments and for WooCommerce icon Goopter advanced integration for PayPal Complete Payments and for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) ppcp-gateway/class-wc-gateway-cc-goopter.php:431
  76. PIX Pay Easy for WooCommerce icon PIX Pay Easy for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wc-payeasy-boleto.php:279
  77. XEPPT Card Payment Plugin icon XEPPT Card Payment PluginFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wc-payment-gateway-xeppt.php:187
  78. Cryptochain icon CryptochainFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) cryptochain.php:214
  79. CartGateway Payment Gateway for WooCommerce icon CartGateway Payment Gateway for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/cart_gateway.php:330
  80. OrkestaPay Card icon OrkestaPay CardFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) templates/payment.php:9
  81. Payment Gateway for Expinet and for WooCommerce icon Payment Gateway for Expinet and for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/Gateway/ExpinetGateway.php:219
  82. Payment Gateway through Dalenys icon Payment Gateway through DalenysFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wc-dalenys-payment-gateway.php:130
  83. AM NMI Gateway for WooCommerce icon AM NMI Gateway for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-am-nmi-creditcard.php:338
  84. Payment Gateway for PhoeniXGate on WooCommerce icon Payment Gateway for PhoeniXGate on WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) public/partials/woo-phxmn-public-display.php:17
  85. Cpay Crypto Payment Gateway for Woocommerce icon Cpay Crypto Payment Gateway for WoocommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) cpg2.2.php:122
  86. Payment Gateway for Billie.io on WooCommerce icon Payment Gateway for Billie.io on WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) wc-billie-io-payment-gateway.php:359
  87. Payments Gateway for Greenlight on WooCommerce icon Payments Gateway for Greenlight on WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) classes/class-wc-greenlight-payments.php:281
  88. PagTur for WooCommerce icon PagTur for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/controllers/WC_PAGTUR_GATEWAY.php:340
  89. CodeElysiumIT Payments Gateway for WooCommerce icon CodeElysiumIT Payments Gateway for WooCommerceFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) codeelysiumit-payments-gateway-for-woocommerce.php:159
  90. Payment Gateway for Frubipay icon Payment Gateway for FrubipayFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) template-parts/card-form.php:30
  91. Maakapay Checkout For Woocommerce V2 icon Maakapay Checkout For Woocommerce V2Fewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-maakapay-for-woocommerce-checkout-payment-gateway.php:146
  92. Facture Pay icon Facture PayFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) facture-authorize-woocommerce.php:123
  93. Limopay icon LimopayFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) admin/partials/limopay-admin-display.php:126
  94. Payment in-Lire Gateway 2 Steps Order icon Payment in-Lire Gateway 2 Steps OrderFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) includes/class-wc-gateway-inlire.php:141
  95. Bitcoin Widgets icon Bitcoin WidgetsFewer than 10 installs do_action( 'woocommerce_credit_card_form_start', $this->id ) itez-gateway-wc.php:200

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.