Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Get coupon description using WC_Coupon::get_description() › Reply To: Get coupon description using WC_Coupon::get_description()
December 5, 2017 at 7:56 am
#2299
Soft79
Keymaster
I see what’s happening:
The false &&
must be removed from the first line of the function:
if ( false && $this->use_wc27 && is_callable( array( $this->object, 'get_description' ) ) )
Will remove it in the next version.
$post->post_excerpt must only be called as a fallback for WC < 3.0