Viewing 1 replies (of 1 total)
  • Thread Starter Stefano Monteiro

    (@stemon)

    In create-discount.php at the very end paste

    $expDate = date('Y-m-d', strtotime("+30 days"));
    update_post_meta( $new_coupon_id, 'expiry_date', $expDate );
Viewing 1 replies (of 1 total)
  • The topic ‘Is it possible to add expiration date?’ is closed to new replies.