Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**********
- Change the shown text when an EM Coupon has been applied.
- ***********/
- function stonehenge_em_change_coupon_output( $text, $EM_Coupon ) {
- $text = $EM_Coupon->coupon_description;
- return $text;
- }
- add_filter('em_coupon_get_discount_text', 'stonehenge_em_change_coupon_output', 10, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement