Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Polylang Implementation › Reply To: Polylang Implementation
July 19, 2017 at 3:38 pm
#1664
Jonathan Moore
Participant
so it would be a simple change:
`
private function coupon_excerpt($coupon) {
$my_post = get_post( WJECF_Wrap( $coupon )->get_id() );
return apply_filters( ‘woocommerce_coupon_get_description’,
__( $my_post->post_excerpt, ‘woocommerce-jos-autocoupon’ ), $coupon );
}
`
I’ve just tested this and working fine..