woocommerce_pay_order_before_payment action-hookWC 8.2.0

Triggered from within the checkout/form-pay.php template, immediately before the payment section.

Usage

add_action( 'woocommerce_pay_order_before_payment', 'wp_kama_woocommerce_pay_order_before_payment_action' );

/**
 * Function for `woocommerce_pay_order_before_payment` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_pay_order_before_payment_action(){

	// action...
}

Changelog

Since 8.2.0 Introduced.

Where the hook is called

In file: /templates/checkout/form-pay.php
woocommerce_pay_order_before_payment
woocommerce/templates/checkout/form-pay.php 76
do_action( 'woocommerce_pay_order_before_payment' ); 

Where the hook is used in WooCommerce

Usage not found.