Skip to content

Commit e5c053f

Browse files
authored
gwaft-template-collapsible.php: Added preview image.
1 parent fdbf5e2 commit e5c053f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gravity-forms/gwaft-template-collapsible.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* https://gravitywiz.com/gravity-forms-all-fields-template/
55
*
66
* Adds support for a collapsible template with All Fields Template.
7+
*
8+
* ![Preview of Collapsible All Fields Template in action](https://gravitywiz.com/app/uploads/2025/02/gwaft-collapsible-preview.png)
79
*
810
* Instructions:
911
*
@@ -13,8 +15,8 @@
1315
* 2. Install this snippet. No code configuration required.
1416
* https://gravitywiz.com/documentation/managing-snippets/#where-do-i-put-snippets
1517
*
16-
* 3. Enable the collapsible template on any {all_fields} merge tag.
17-
* {all_fields:template[collapsible]}
18+
* 3. Enable the collapsible template on any `{all_fields}` merge tag.
19+
* `{all_fields:template[collapsible]}`
1820
*/
1921
add_filter( 'gwaft_template_output', function( $content, $slug, $name, $data, $suffixes ) {
2022
if ( ! in_array( 'collapsible', $suffixes ) ) {

0 commit comments

Comments
 (0)