Skip to main content

Filter: gravityview/view/links/directory

Modify the URL to the View "directory" context.

Parameters​

NameTypeDescription
$linkstringURL to the View's "directory" context (Multiple Entries screen).
$context\GV\Template_ContextThe context this is being used in.
$add_query_argsboolWhether the link holds the request's pagination and sorting args. Entry links pass false, as they add the entry path to the link.

Since​

  • 2.0
  • 3.9.0: Added $add_query_args parameter.

Source​

  • Defined in src/API/API.php at line 582
  • Defined in src/Entry/Entry.php at line 221