title: Set a coupon description in WooCommerce
body: <p>My site dynamically gives users coupons if they have been a member for a long enough time. When I am generating the coupon I want to assign a description to the coupon. However, I seem to be unable to assign a description by updating the post's metadata with the key <code>description</code> as the <a href="https://github.com/woocommerce/woocommerce/wiki/Coupon-Data" rel="nofollow noreferrer">docs</a> suggest I should be able to. </p>
  
  <p>Currently I am trying to assign the description like so:</p>
  
  <pre><code>$percent = 25;//DISCOUNT PERCENTAGE
  $coupon_code = 'testcoupon'; //Coupon Code
  $discount_type = 'percent'; // Type: fixed_cart, percent, fixed_product, percent_product
  
  //ASSIGN COUPON AND DISCOUNT PERCENTAGE
  
  $coupon = array(
      'post_title' =&gt; $coupon_code,
      'post_content' =&gt; '',
      'post_status' =&gt; 'publish',
      'post_author' =&gt; 1,
      'post_type'     =&gt; 'shop_coupon'
  );
  
  $new_coupon_id = wp_insert_post( $coupon );
  
  // Add meta
  update_post_meta( $new_coupon_id, 'discount_type', $discount_type );//SET DICOUNT TO BE PERCENTAGE BASED
  update_post_meta( $new_coupon_id, 'coupon_amount', $percent );//SET DISCOUNT PERCENTAGE
  update_post_meta( $new_coupon_id, 'individual_use', 'yes' );//ONLY ONE CUPON BE USED AT A TIME
  update_post_meta( $new_coupon_id, 'product_ids', '' ); //INCLUDE ALL PRODUCTS
  update_post_meta( $new_coupon_id, 'exclude_product_ids', '' );//DO NOT EXCLUDE ANY PRODUCTS 
  update_post_meta( $new_coupon_id, 'usage_limit', '1' );//ONE TIME USE
  update_post_meta( $new_coupon_id, 'expiry_date', strtotime("+6 months") );
  update_post_meta( $new_coupon_id, 'apply_before_tax', 'yes' );
  update_post_meta( $new_coupon_id, 'free_shipping', 'no' );//DO NOT GIVE FREE SHIPPING
  
  //ASSIGN DESCRIPTION TO COUPON
  update_post_meta( $new_coupon_id, 'description', 'This is an example description used for the example coupon');
  </code></pre>
  
  <p>How else should I go about adding a description? </p>