Skip to content

Commit aad7070

Browse files
committed
gw-rich-text-html-fields.php: Fixed an issue where Rich Text HTML snippet only worked with Gravity Perks active.
1 parent 0c8de01 commit aad7070

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gravity-forms/gw-rich-text-html-fields.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
}
2020
} );
2121

22+
add_action( 'gform_field_standard_settings', function() {
23+
if ( did_action( 'gform_field_standard_settings_200' ) < 1 ) {
24+
do_action( 'gform_field_standard_settings_200', rgget( 'id' ) );
25+
}
26+
} );
27+
2228
add_action( 'gform_field_standard_settings_200', function() {
2329
?>
2430

0 commit comments

Comments
 (0)