[WOOCOMERCE] all hook at woocommerce_before_checkout_form (ok)

https://gist.githubusercontent.com/swoboda/e623c8c0c14d9c8d8c0d8330a7bb6db9/raw/fe9de347a736011271afdfff9b98c8c2b49a4d18/woocommerce-checkout-hooks.php

<?php
/**
 * Default WooCommerce Checkout Hooks (just an example, do not copy)
 *
 */
add_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_login_form', 10 );
add_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form', 10 );
add_action( 'woocommerce_checkout_order_review', 'woocommerce_order_review', 10 );
add_action( 'woocommerce_checkout_order_review', 'woocommerce_checkout_payment', 20 );

/**
 * How to Remove Default WooCommerce Checkout Hooks (paste into your functions.php file)
 *
 */
remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_login_form', 10 );
remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form', 10 );
remove_action( 'woocommerce_checkout_order_review', 'woocommerce_order_review', 10 );
remove_action( 'woocommerce_checkout_order_review', 'woocommerce_checkout_payment', 20 );

Last updated