Last active
April 13, 2018 10:13
-
-
Save wpweb101/24c9e8c93dd9604d3dcf752c6dfbb839 to your computer and use it in GitHub Desktop.
Change Check Voucher Code Expired Message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // add filter to change check voucher code expired message | |
| add_filter( 'woo_vou_voucher_code_expired_message', 'woo_vou_voucher_code_expired_message', 10, 4 ); | |
| function woo_vou_voucher_code_expired_message( $message, $product_name, $expiry_date, $voucodeid ) { | |
| $message = 'Enetered Voucher Code is expired on '.$expiry_date; | |
| return $message; | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment