// Remove inactive forms from form switcher
add_filter( 'gform_form_switcher_forms', function( $forms ) {
$forms = array_filter( $forms, function( $form ) {
return rgobj( $form, 'is_active' );
} );
return $forms;
} );
// Remove inactive forms from form switcher
add_filter( 'gform_form_switcher_forms', function( $forms ) {
$forms = array_filter( $forms, function( $form ) {
return rgobj( $form, 'is_active' );
} );
return $forms;
} );