Clear cache after adding new method
This commit is contained in:
parent
59db23001f
commit
1e72f2ba86
|
@ -457,6 +457,8 @@ class WC_Shipping_Zone extends WC_Data {
|
|||
do_action( 'woocommerce_shipping_zone_method_added', $instance_id, $type, $this->get_zone_id() );
|
||||
}
|
||||
|
||||
WC_Cache_Helper::get_transient_version( 'shipping', true );
|
||||
|
||||
return $instance_id;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue