Skip to main content

Filter: gravityview_anchor_text_rootonly

Display link path going only to the base directory, not a sub-directory or file?

Parameters

NameTypeDescription
$enableboolWhether to enable "root only". Return false to show full path. (default: true)\n If true:
http://example.com/sub/directory/page.html => example.com
\n If false:
http://example.com/sub/directory/page.html => example.com/sub/directory/page.html

Since

Source

Defined in includes/helper-functions.php at line 390