gwp_parent_slug
The gwp_parent_slug Merge Tag for Gravity Forms returns part of the slug (the url) and let’s you pick which part of the slug you want to get (which parent).
{gwp_parent_slug depth="1"}
Returns the parent slug of the current page. Default is depth=0, which return the direct parent. depth=’top’ returns the highest parent.
{gwp_parent_slug depth="top"}
Last updated: 28-03-2023