We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gw-coupons-exclude-products.php
1 parent 92b8cec commit 156046dCopy full SHA for 156046d
gravity-forms/gw-coupons-exclude-products.php
@@ -238,17 +238,17 @@ function is_applicable_form( $form ) {
238
// Single form
239
240
new GW_Coupons_Exclude_Products( array(
241
- 'form_id' => 123,
242
- 'exclude_fields_without_options' => array( 6 ),
243
- 'skip_for_100_percent' => false,
+ 'form_id' => 123,
+ 'exclude_fields' => array( 4, 5 ),
+ 'skip_for_100_percent' => false,
244
) );
245
246
// Single form (exclude fields without options)
247
248
249
250
- 'exclude_fields' => array( 4, 5 ),
251
+ 'exclude_fields_without_options' => array( 6 ),
252
253
254
// Multiple forms
0 commit comments