Skip to content

Commit 47a1096

Browse files
committed
Modify comment
1 parent e58717d commit 47a1096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gravity-forms/gw-create-coupon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public function create_coupon_wc( $coupon_name, $coupon_code, $amount, $type, $e
190190
$start_date = $date->format( 'Y-m-d H:i:s' );
191191
}
192192

193-
// WooCommerce coupon uses the Post Title as the coupon code hence $coupon_code is assigned to Post Title and $coupon_name is assigned to the Post Content
193+
// WooCommerce coupon uses the Post Title as the coupon code hence $coupon_code is assigned to Post Title and $coupon_name is assigned to the Post Excerpt
194194
$coupon = array(
195195
'post_title' => $coupon_code,
196196
'post_excerpt' => $coupon_name,

0 commit comments

Comments
 (0)