| CARVIEW |
Select Language
HTTP/2 301
date: Sat, 27 Dec 2025 12:44:41 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_entry_detail_url/
server: cloudflare
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
content-security-policy: frame-ancestors 'self';
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
x-redirect-by: WordPress
fastcgi-cache: MISS
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=VYB4Ll1hasmWmOxrNlmNRBD4J7begCV2ya06CW6kv%2FGBxHiqe2ON4535Kufh7VJ%2B%2FoUFrV7%2F279v414SlBbzl%2BG5unOS7V00dkIV6BiEes%2Bbnc%2Bl"}]}
cf-ray: 9b48e91f595fa45e-BLR
HTTP/2 200
date: Sat, 27 Dec 2025 12:44:41 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
vary: Accept-Encoding
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
content-security-policy: frame-ancestors 'self';
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
link: ; rel="https://api.w.org/"
link: ; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
fastcgi-cache: HIT
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=SFCt2suuLIwGwCC8oXhTP7DCoStZHPeYKOjHift7NfyMEE7LmUCtHEThPRTGz7PBQSHjwCteyynG59amFYsVf132XjxJd8Mm290aq7NUmmtHm7WB"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b48e925b88fa45e-BLR
gform_entry_detail_url - Gravity Forms Documentation
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
- $entry_url string
The Entry URL to filter.
-
$form Form Object
The current form object.
-
$entry Entry Object
The current entry object.
Example(s)
add_filter( 'gform_entry_detail_url', 'filter_url', 10, 3 );
function filter_url( $entry_url, $form, $entry ){
$entry_url = str_replace('https://localhost', 'https://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.