WordPress action hook
woocommerce_review_order_before_payment
Defined by WooCommerce and fired by 37 plugins in total, running on 7.4M+ sites between them.
How to use woocommerce_review_order_before_payment
It's an action: your callback runs at that point. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'woocommerce_review_order_before_payment', function() {
// 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.
37 plugins that fire woocommerce_review_order_before_payment
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WooCommerce7+ million installs
do_action( 'woocommerce_review_order_before_payment' )templates/checkout/payment.php:21 -
CartFlows200,000+ installs
do_action( 'woocommerce_review_order_before_payment' )woocommerce/template/checkout/payment.php:21 -
ShopLentor80,000+ installs
do_action( 'woocommerce_review_order_before_payment' )includes/modules/shopify-like-checkout/includes/templates/payment.php:9 -
WooCommerce Square80,000+ installs
do_action( 'woocommerce_review_order_before_payment' )includes/Gateway/Templates/payment.php:24 -
FunnelKit30,000+ installs
do_action( 'woocommerce_review_order_before_payment' )modules/checkouts/public/template-common/checkout/payment-2.5.0.php:24 -
Fluid Checkout for WooCommerce20,000+ installs
do_action( 'woocommerce_review_order_before_payment' )templates/fc/checkout-steps/checkout/payment.php:22 -
SellKit7,000+ installs
do_action( 'woocommerce_review_order_before_payment' )includes/block-editor/blocks/checkout/inner-blocks/payment/class.php:40 -
Donation Platform for WooCommerce: Fundraising & Donation Management6,000+ installs
do_action( 'woocommerce_review_order_before_payment' )includes/wc-templates/checkout/payment.php:23 -
WPFunnels5,000+ installs
do_action( 'woocommerce_review_order_before_payment' )woocommerce/templates/checkout/payment.php:21 -
WowStore4,000+ installs
do_action( 'woocommerce_review_order_before_payment' )blocks/woo/checkout/payment_method/Template.php:7 -
MStore API2,000+ installs
do_action( 'woocommerce_review_order_before_payment' )templates/mstore-api-template.php:457 -
CheckoutWC Lite2,000+ installs
do_action( 'woocommerce_review_order_before_payment' )includes/Compatibility/Plugins/Chronopost.php:17 -
Svea Checkout for WooCommerce800+ installs
do_action( 'woocommerce_review_order_before_payment' )templates/svea-checkout.php:90 -
ShopPress600+ installs
do_action( 'woocommerce_review_order_before_payment' )public/templates/checkout/checkout-payment-method.php:44 -
Dintero Checkout for WooCommerce Payment Methods600+ installs
do_action( 'woocommerce_review_order_before_payment' )templates/dintero-checkout-express.php:15 -
StoreBuild400+ installs
do_action( 'woocommerce_review_order_before_payment' )public/woocommerce/checkout/payment.php:22 -
Hide Address Fields for WooCommerce300+ installs
do_action( 'woocommerce_review_order_before_payment' )woocommerce/checkout/payment.php:21 -
KiriminAja Official200+ installs
do_action( 'woocommerce_review_order_before_payment' )templates/woocommerce/checkout/payment.php:21 -
Amazon payment services100+ installs
do_action( 'woocommerce_review_order_before_payment' )public/woo_templates/checkout/payment.php:23 -
Checkout Custom Fields Builder for WooCommerce30+ installs
do_action( 'woocommerce_review_order_before_payment' )templates/frontend/checkout/payment.php:13 -
One Page Checkout for WooCommerce30+ installs
do_action( 'woocommerce_review_order_before_payment' )public/templates/checkout/payment.php:21 -
FlowCheckout for WooCommerce20+ installs
do_action( 'woocommerce_review_order_before_payment' )templates/layouts/shopify.php:296 -
سرویس خرید پستی ماها10+ installs
do_action( 'woocommerce_review_order_before_payment' )checkout/payment.php:5 -
One Page Checkout for WooCommerce10+ installs
do_action( 'woocommerce_review_order_before_payment' )inc/checkout-woo.php:331 -
On-Page Checkout for WooCommerce10+ installs
do_action( 'woocommerce_review_order_before_payment' )includes/ajax-handler.php:346 -
Custom & One-Page Checkout for Woo10+ installs
do_action( 'woocommerce_review_order_before_payment' )templates/woocommerce/checkout/payment.php:21 -
WPC10+ installs
do_action( 'woocommerce_review_order_before_payment' )app/inc/Addons/wpc-onepage-checkout/templates/checkout/payment.php:6 -
Checkout PopupFewer than 10 installs
do_action( 'woocommerce_review_order_before_payment' )woocommerce/checkout/payment.php:23 -
Cresta Checkout for WooCommerceFewer than 10 installs
do_action( 'woocommerce_review_order_before_payment' )templates/wc/checkout/payment.php:16 -
Checkoutify LiteFewer than 10 installs
do_action( 'woocommerce_review_order_before_payment' )includes/checkout-override.php:494 -
MCOD Minimalist Checkout for WooCommerceFewer than 10 installs
do_action( 'woocommerce_review_order_before_payment' )templates/woocommerce/checkout/payment.php:14 -
SuperPlusFewer than 10 installs
do_action( 'woocommerce_review_order_before_payment' )includes/modules/checkout-steps/templates/woocommerce/checkout/payment.php:18 -
SKYRO Checkout for WooCommerceFewer than 10 installs
do_action( 'woocommerce_review_order_before_payment' )src/FrontEnd/TemplateFiles/TemplateParts/payment.php:21 -
Chakramani Multi-Step Checkout for WooCommerceFewer than 10 installs
do_action( 'woocommerce_review_order_before_payment' )templates/step-payment.php:41 -
Ajax instant buy checkout for WooCommerceFewer than 10 installs
do_action( 'woocommerce_review_order_before_payment' )template/payment.php:4 -
WS Custom CheckoutFewer than 10 installs
do_action( 'woocommerce_review_order_before_payment' )checkout/templates/for_replacement/payment.php:21 -
Brankas Payment for WooCommerceFewer than 10 installs
do_action( 'woocommerce_review_order_before_payment' )woocommerce/checkout/payment.php:21
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.