gform_entry_detail_url

Description

The “gform_entry_detail_url” filter in Gravity Forms allows the entry_url placeholder to be modified to handle situations in which the wpurl might not match the admin_url.

Usage

add_filter( 'gform_entry_detail_url', 'your_function_name', 10, 3 );

Parameters

Example(s)

add_filter( 'gform_entry_detail_url', 'filter_url', 10, 3 );
function filter_url( $entry_url, $form, $entry ){
	$entry_url = str_replace('http://localhost', 'http://rocketgenius.com', $entry_url );
	return $entry_url;
}

Placement

Your code snippet should be placed in the functions.php file of your active theme.

Since

Gravity Forms Version 2.2.4

Source Code

This filter is located in GFCommon:replace_variables() in gravityforms/common.php.