WordPress filter hook
woocommerce_gateway_title
Defined by WooCommerce and fired by 33 plugins in total, running on 7.1M+ sites between them.
“Filter the gateway title.”
How to use woocommerce_gateway_title
It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'woocommerce_gateway_title', function( $title, $id ) {
// Change $title here.
return $title;
}, 10, 2 );Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
33 plugins that fire woocommerce_gateway_title
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WooCommerce7+ million installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/abstracts/abstract-wc-payment-gateway.php:384 -
Klarna for WooCommerce20,000+ installs
apply_filters( 'woocommerce_gateway_title', $order->get_payment_method_title(), $this->id )classes/class-wc-gateway-klarna-payments.php:200 -
Yoco Payments10,000+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )src/Gateway/Gateway.php:264 -
Paymob for WooCommerce5,000+ installs
apply_filters( 'woocommerce_gateway_title', $this->title, $this->id )includes/gateways/class-paymob-payment.php:196 -
Payoneer Checkout5,000+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/Gateways/WC_Payoneer_Gateway.php:183 -
PagBank for WooCommerce4,000+ installs
apply_filters( 'woocommerce_gateway_title', $this->title, $this->id )src/core/Gateways/ApplePayPaymentGateway.php:146 -
MyFatoorah2,000+ installs
apply_filters( 'woocommerce_gateway_title', $this->title, $this->id )includes/payments/class-wc-gateway-myfatoorah-embedded.php:108 -
PayPal Brasil para WooCommerce1,000+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/payment-methods/class-paypal-brasil-applepay-gateway.php:138 -
PostFinance Checkout for Woocommerce1,000+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/class-wc-postfinancecheckout-gateway.php:179 -
payever Checkout800+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/class-payever-gateway.php:491 -
ESTO payment methods700+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/class-esto-x-payment.php:256 -
PayZen for WooCommerce600+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )class-wc-gateway-payzenother.php:101 -
wallee400+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/class-wc-wallee-gateway.php:179 -
AmwalPay for WooCommerce200+ installs
apply_filters( 'woocommerce_gateway_title', $this->title . $bank_epp, $this->id )includes/gateway/class-amwalpay-gateway.php:145 -
Cryptocurrency Payment Gateway for WooCommerce200+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/WooCommerce/TripleA_Payment_Gateway.php:348 -
Swedbank Pay Payment Menu200+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/class-swedbank-pay-payment-gateway-checkout.php:587 -
VR Payment90+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/class-wc-vrpayment-gateway.php:179 -
Sadad Payment for WooCommerce90+ installs
apply_filters( 'woocommerce_gateway_title', $this->title, $this->id )includes/payments/class-gateway-sadad.php:100 -
Speed Bitcoin and Stablecoin Payments for WooCommerce60+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/WooCommerce/Speed_Payment_Gateway.php:169 -
Fintoc for WooCommerce40+ installs
apply_filters( 'woocommerce_gateway_title', $this->method_title, $this->id )includes/class-wc-fintoc-gateway.php:294 -
XPay for WooCommerce40+ installs
apply_filters( 'woocommerce_gateway_title', XPayEG_Payment_Methods::label( XPayEG_Payment_Methods::CARD ), $this->id )includes/gateway/class-xpayeg-gateway.php:498 -
TradeSafe Payment Gateway for WooCommerce30+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )src/class-wc-gateway-tradesafe.php:101 -
InPrimePay for WooCommerce20+ installs
apply_filters( 'woocommerce_gateway_title', $clean_title, $this->id )includes/class-wc-gateway-inprimepay.php:230 -
Amwal Checkout10+ installs
apply_filters( 'woocommerce_gateway_title', $this->title, $this->id )includes/class-wc-gateway-amwal-installments.php:105 -
Raif payment10+ installs
apply_filters( 'woocommerce_gateway_title', $this->title_icon_html, $this->id )includes/class-gateway.php:346 -
WeArePlanet10+ installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/class-wc-weareplanet-gateway.php:179 -
ONE.lat for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/class-wc-gateway-one-lat.php:251 -
Whalet PaymentFewer than 10 installs
apply_filters( 'woocommerce_gateway_title', $this->get_title_text(), $this->id )woocommerce/card/class-wc-gateway-card.php:108 -
EBE PAYGATE Checkout for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/class-ebe-paygate-gateway.php:265 -
HSBC Open PaymentsFewer than 10 installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/class-hsbc-gateway.php:442 -
ZiniaFewer than 10 installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/class-wc-zinia-gateway.php:419 -
Nevogate Payment Gateway for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )classes/class-nevogatepgwoo-provider.php:342 -
Match2Pay crypto payments for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_gateway_title', $title, $this->id )includes/WooCommerce/Payment_Gateway.php:1484
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.