gotrls_grouped_by_page_collapsible_options

Updated 14 September 2026

On this page

Description

Changes which page groups of a collapsible summary are open when the form loads. The side summary always uses open_active; a Live Summary field uses the “Collapsible Options” setting of the field.

A form specific variant exists as well: add _FORMID to the hook name, for example gotrls_grouped_by_page_collapsible_options_3 for form 3.

Parameters

$collapsible_options | String. One of ‘open_active’, ‘open_first’, ‘open_all’, ‘close_all’

$form | Array. The Gravity Forms form object

$type | String. ‘side’ or the field ID of a Live Summary field

Return

String

Usage

Copy the below code to the functions.php of your child theme or to your snippet plugin.

<?php
add_filter( "gotrls_grouped_by_page_collapsible_options", function( $options, $form, $type ) {
    return 'open_all';
}, 10, 3 );

Since

version 2.1.0

Didn’t find what you were looking for?

Or contact support and I will help you out.

Scroll to Top