Skip to content

Commit 3bd8b04

Browse files
authored
gw-all-fields-template.php: Added filter to customize template content.
1 parent cee8009 commit 3bd8b04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gravity-forms/gw-all-fields-template.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,17 +593,17 @@ public function load_template( $slug, $name = null, $data = array(), $suffixes =
593593
$content = ob_get_clean();
594594

595595
/**
596-
* Filters the content loaded by the template.
596+
* Filters the output loaded by the template.
597597
*
598598
* @since 0.12
599599
*
600-
* @param string $content The content loaded by the template.
600+
* @param string $content The output content loaded by the template.
601601
* @param string $slug The slug name for the generic template.
602602
* @param string $name The name of the specialized template.
603603
* @param array $data An array of data extracted for use in the template.
604604
* @param array $suffixes An array of suffixes used to locate the template.
605605
*/
606-
$content = apply_filters( 'gwaft_template_content', $content, $slug, $name, $data, $suffixes );
606+
$content = apply_filters( 'gwaft_template_output', $content, $slug, $name, $data, $suffixes );
607607
return ! $template && ! $content ? false : $content;
608608
}
609609

0 commit comments

Comments
 (0)