gform_entry_detail_title

Description

The gform_entry_detail_title filter in Gravity Forms allows the title displayed on the entry detail page to be modified.

Usage

add_filter( 'gform_entry_detail_title', 'my_function_call' );

Parameters

ParameterTypeDescription
$titlestringThe title used.
$formarrayThe form object.
$entryarrayThe entry object

Examples

Change the entry detail title.

add_filter( 'gform_entry_detail_title', function( $title, $form, $entry ) {
	return 'Your new title for entry #' . $entry['id'];
}, 10, 3 );

Placement

This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.

See also the PHP section in this article: Where Do I Put This Code?

Source Code

This filter is located in entry_detail.php.