Set expiration date
-
How set expiration date in generated new coupon code? This code from old post don’t work in create-discount.php
$expDate = date(‘Y-m-d’, strtotime(“+60 days”));
update_post_meta( $new_coupon_id, ‘expiry_date’, $expDate );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Set expiration date’ is closed to new replies.