Skip to content

Commit fa37967

Browse files
committed
gw-disable-expired-forms.php: Added snippet to disable expired forms.
1 parent be13e15 commit fa37967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gravity-forms/gw-disable-expired-forms.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
$threshold = 1;
1010

1111
$forms = GFAPI::get_forms();
12-
foreach( $forms as $form ) {
12+
foreach ( $forms as $form ) {
1313
$schedule_end = rgar( $form, 'scheduleEnd' );
1414
if ( ! $schedule_end ) {
1515
continue;

0 commit comments

Comments
 (0)