You must be logged in to see replies to this topic. Click here to login or register
Home › Forums › Plugins › WooCommerce Free Shipping Bar › Lines in bottom
On the bottom off every page of my website I see this line of code.
function my_hide_shipping_when_free_is_available( $rates ) { $free = array(); foreach ( $rates as $rate_id => $rate ) { if ( ‘free_shipping’ === $rate->method_id ) { $free[ $rate_id ] = $rate; break; } } return ! empty( $free ) ? $free : $rates; } add_filter( ‘woocommerce_package_rates’, ‘my_hide_shipping_when_free_is_available’, 100 );
How do I remove these lines form my webpages?
You must be logged in to see replies to this topic. Click here to login or register