Skip to main content

gv_directory_link()

function gv_directory_link( $post=null, $add_pagination=true, $context=null )

Returns the URL to the Multiple Entries (directory) context of a View.

See Also

Source: src/API/class-api.php:324

Parameters

NameTypeDefaultDescription
$postint | nullnullPost ID to link to. Defaults to the current post.
$add_paginationbooltrueWhether to include pagination in the URL.
$context\GV\Template_Context | nullnullThe template context.