/** * Remove country and city fields from shipping calculator and disable "calculate shipping" toggle non-sense. **/ add_filter( 'woocommerce_shipping_calculator_enable_country', '__return_false' ); add_filter( 'woocommerce_shipping_calculator_enable_city', '__return_false' );