woocommerce_before_order_notes
Usage
add_action( 'woocommerce_before_order_notes', 'wp_kama_woocommerce_before_order_notes_action' );
/**
* Function for `woocommerce_before_order_notes` action-hook.
*
* @param $checkout
*
* @return void
*/
function wp_kama_woocommerce_before_order_notes_action( $checkout ){
// action...
}
- $checkout
- -
Where the hook is called
woocommerce_before_order_notes
woocommerce/templates/checkout/form-shipping.php 51
<?php do_action( 'woocommerce_before_order_notes', $checkout ); ?>