woocommerce_calculated_shipping

woocommerce_calculated_shipping

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_calculated_shipping') is found 1 times:

  • /includes/shortcodes/class-wc-shortcode-cart.php line 59
    			WC()->customer->save();
    
    			wc_add_notice( __( 'Shipping costs updated.', 'woocommerce' ), 'notice' );
    
    			do_action( 'woocommerce_calculated_shipping' );
    
    		} catch ( Exception $e ) {
    			if ( ! empty( $e ) ) {
    				wc_add_notice( $e->getMessage(), 'error' );
    			}
    		}