WC_Legacy_Coupon::enable_free_shipping()
Check if a coupon enables free shipping.
Method of the class: WC_Legacy_Coupon{}
No Hooks.
Return
true|false
.
Usage
$WC_Legacy_Coupon = new WC_Legacy_Coupon(); $WC_Legacy_Coupon->enable_free_shipping();
WC_Legacy_Coupon::enable_free_shipping() WC Legacy Coupon::enable free shipping code WC 8.7.0
public function enable_free_shipping() { wc_deprecated_function( 'WC_Coupon::enable_free_shipping', '3.0', 'WC_Coupon::get_free_shipping' ); return $this->get_free_shipping(); }