woocommerce_before_shipping_calculator

woocommerce_before_shipping_calculator

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_before_shipping_calculator') is found 1 times:

  • /templates/cart/shipping-calculator.php line 20
     */
    
    defined( 'ABSPATH' ) || exit;
    
    do_action( 'woocommerce_before_shipping_calculator' ); ?>
    
    <form class="woocommerce-shipping-calculator" action="<?php echo esc_url( wc_get_cart_url() ); ?>" method="post">
    
    	<?php printf( '<a href="#" class="shipping-calculator-button" aria-expanded="false" aria-controls="shipping-calculator-form" role="button">%s</a>', esc_html( ! empty( $button_text ) ? $button_text : __( 'Calculate shipping', 'woocommerce' ) ) ); ?>
    
    	<section class="shipping-calculator-form" id="shipping-calculator-form" style="display:none;">