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:
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.
-
WooCommerce7+ million installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/gateways/class-wc-payment-gateway-cc.php:86 -
Nexi XPay7,000+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )src/classes/Nexi/WC_Gateway_XPay_Cards_Build.php:153 -
PagBank for WooCommerce4,000+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )src/core/Gateways/CreditCardPaymentGateway.php:695 -
CHIP for WooCommerce4,000+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-chip-woocommerce-gateway.php:4164 -
PagBank / PagSeguro e Vindi para WooCommerce3,000+ installs
do_action( 'woocommerce_credit_card_form_start', Connect::DOMAIN )src/templates/payments/creditcard.php:98 -
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 -
Tilopay2,000+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/WCTilopay.php:822 -
Payments via PayMongo for WooCommerce1,000+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )classes/CynderPayMongoGateway.php:263 -
XL NMI Gateway for WooCommerce800+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-nmi-gateway-woocommerce-base.php:598 -
YAPE A1 Tiendas800+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )pagos-moviles-peru.php:139 -
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 -
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 -
Clover Payment Gateway by Zaytech for WooCommerce500+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/woocci_zay_gateway.php:187 -
Tara360 Gateway500+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-wc-gateway-tara360.php:237 -
ONVO Pay400+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-gateway-onvo-pay.php:584 -
Elavon Payment Gateway for WooCommerce300+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )src/ConvergeGateway.php:1773 -
CoffeeCode300+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )views/partials/checkout/creditcard.php:18 -
Sola Payment Gateway for WooCommerce300+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-wc-gateway-cardknox.php:203 -
Walletdoc Payment Gateway for WooCommerce200+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/common/abstract-wc-walletdoc-payment.php:155 -
YouCan Pay200+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-wc-gateway-youcanpay.php:167 -
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 -
e-SCOTT Smart light for WooCommerce100+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-spfwc-light-payment-gateway.php:453 -
Wizit Gateway for WooCommerce100+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )class-wizit-gateway.php:915 -
Kuroneko Web Collect for Woo100+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-kupaywc-payment-gateway.php:370 -
pay bi100+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )ebi_pay_classic_gateway.php:233 -
WaafiPay Payment Gateway100+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/abstracts/abstract-wc-gateway-waafi.php:145 -
Paymentfor Gateway for WooCommerce90+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-paymentfor-wc-payment-gateway.php:491 -
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 -
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 -
NMI for WooCommerce70+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/creditcard.php:797 -
SwiftPay Payment Gateway for WooCommerce70+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )swiftpay.php:150 -
MerchantOne Payment Gateway WooCommerce Addon70+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )webmicro-merchantone-woo-addon.php:276 -
Network Merchant Payment Gateway for WooCommerce60+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )webmicro-nmi-woo-addon.php:254 -
Avify50+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )avify-payments-gateway.php:350 -
RCOMGateway by RConsolidate40+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )rc_ombf-gateway.php:147 -
Payroc Gateway for WooCommerce40+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-payroc-gateway.php:652 -
Worldnet Payments Gateway for WooCommerce40+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-worldnetpayments-gateway.php:652 -
Beyond Pay for WooCommerce30+ installs
do_action( 'woocommerce_credit_card_form_start', 'beyond_pay' )includes/wc-beyond-pay-gateway.php:344 -
Takepayments Mercury Payment Gateway30+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/payment-gateway/takepayments-mercury-gateway.php:178 -
Bluepay Payment Gateway WooCommerce Addon30+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )webmicro-bluepay-woo.php:311 -
Marketing 360® Payments for WooCommerce30+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-wc-gateway-stripe.php:376 -
TK Paybill and Till Checkout for M-Pesa30+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )tk-mpesa-for-woo.php:244 -
goEmerchant Payment Gateway Plugin for WooCommerce30+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-wc-gateway-goe.php:960 -
e-SCOTT Smart pro for WooCommerce20+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-spfwc-payment-gateway.php:529 -
Evergreen Payments Northwest Gateway For WooCommerce20+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-wceg-gateway.php:409 -
e2payments-wp Payment for Woocommerce20+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )woocommerce.php:122 -
PayPal Payflow Pro Payment gateway for WooCommerce20+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )webmicro-payflowpro-woo-addon.php:351 -
Pagalo20+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )admin/helpers/class-wc-gateway-pagalo-cuotas.php:225 -
BulletProof Payment Gateway10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-wc-bulletproof-payment-gateway-lite.php:606 -
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 -
Rappibank Gateway10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )view/creditcardform.php:4 -
MerchantX Gateway for WooCommerce10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )class/merchantx_gateway.php:330 -
Younited Pay Payment Gateway10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )src/WcYounitedpayGateway.php:595 -
PayPal Website Payments Pro for WooCommerce10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )paypalpro-woocommerce-addon.php:194 -
Braintree Payment Gateway For WooCommerce10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )webmicro-braintree-woo-addon.php:215 -
RedPay Payment Gateway10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )redpay.php:380 -
Woo Braintree Payment10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )include/woo-mynix-braintree.php:95 -
Ecrypt Payment Gateway for WooCommerce10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/classes/ecrypt-payment-gateway-method.php:557 -
Payment Gateway for Nuvei on WooCommerce10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )wc-nuvei-payment-gateway.php:264 -
Payment in-Lire Gateway10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-wc-gateway-inlire.php:141 -
SkySystemz10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )SkySystemz-woocommerceCheckout.php:101 -
Subscreasy Payment Gateway for Woocommerce Subscriptions10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )class-wc-gateway-subscreasy.php:414 -
Quikly Payment Gateway10+ installs
do_action( 'woocommerce_credit_card_form_start' )xchange.php:490 -
1stPayGateway for WooCommerce10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-wc-gateway-1stpay.php:960 -
CoreGateway Payment Gateway10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )corepayments-gateway.php:244 -
OrendaPay10+ installs
do_action( 'woocommerce_credit_card_form_start', 'orendapay' )woo-orendapay.php:460 -
Payments for pagoUno on WooCommerce10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/gateway.php:457 -
Neopayment10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )class-neopayment-cc.php:153 -
NMI Payment Gateway for WooCommerce10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/cc.php:1107 -
Tunl Payment Gateway for WooCommerce10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )class-wc-tunl-gateway.php:305 -
APPpago10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )templates/form.php:9 -
LatPay Direct Payment Gateway10+ installs
do_action( 'woocommerce_credit_card_form_start', $this->id )hps-checkout-gateway.php:178 -
Gateway Wizard with NMI for WooCommerceFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $id )src/Adapters/WooCommerce/Gateway.php:676 -
Gateway Wizard with Authorize.net for WooCommerceFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $id )src/Adapters/WooCommerce/Gateway.php:676 -
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 -
PIX Pay Easy for WooCommerceFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-wc-payeasy-boleto.php:279 -
XEPPT Card Payment PluginFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-wc-payment-gateway-xeppt.php:187 -
CryptochainFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )cryptochain.php:214 -
CartGateway Payment Gateway for WooCommerceFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/cart_gateway.php:330 -
OrkestaPay CardFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )templates/payment.php:9 -
Payment Gateway for Expinet and for WooCommerceFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/Gateway/ExpinetGateway.php:219 -
Payment Gateway through DalenysFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-wc-dalenys-payment-gateway.php:130 -
AM NMI Gateway for WooCommerceFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/class-am-nmi-creditcard.php:338 -
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 -
Cpay Crypto Payment Gateway for WoocommerceFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )cpg2.2.php:122 -
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 -
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 -
PagTur for WooCommerceFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )includes/controllers/WC_PAGTUR_GATEWAY.php:340 -
CodeElysiumIT Payments Gateway for WooCommerceFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )codeelysiumit-payments-gateway-for-woocommerce.php:159 -
Payment Gateway for FrubipayFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )template-parts/card-form.php:30 -
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 -
Facture PayFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )facture-authorize-woocommerce.php:123 -
LimopayFewer than 10 installs
do_action( 'woocommerce_credit_card_form_start', $this->id )admin/partials/limopay-admin-display.php:126 -
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 -
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.