Share Now

Woocommerce checkout before order review hook

// define the woocommerce_checkout_before_order_review callback 
function action_woocommerce_checkout_before_order_review(  ) { 
    // make action magic happen here... 
}; 
         
// add the action 
add_action( 'woocommerce_checkout_before_order_review', 'action_woocommerce_checkout_before_order_review', 10, 0 ); 

Woocommerce checkout before order review – remove a hook callback

// remove the action 
remove_action( 'woocommerce_checkout_before_order_review', 'action_woocommerce_checkout_before_order_review', 10, 0 ); 
Picture of Nahid Mahamud

Nahid Mahamud

Web Developer | Graphic Designer | WordPress & Woo-commerce Expert