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-gravity-forms-custom-js.php
1 parent 67b92d5 commit 6dac47dCopy full SHA for 6dac47d
gravity-forms/gw-gravity-forms-custom-js.php
@@ -94,6 +94,9 @@ public function noconflict_styles( $scripts = array() ) {
94
}
95
96
public function add_custom_js_setting( $form_settings, $form ) {
97
+ if ( rgget( 'subview' ) !== 'settings' ) {
98
+ return $form_settings;
99
+ }
100
$form_settings['Custom Code'] = array(
101
'title' => esc_html__( 'Custom Code' ),
102
'fields' => array(
0 commit comments