Tribe__Tabbed_View::get_url( array|string $args, boolean $relative )
Returns the tabbed view URL.
Contents
Parameters
- $args
-
(array|string) (Required) Query String or Array with the arguments
- $relative
-
(boolean) (Required) Return a relative URL or absolute
Return
(string)
Source
File: src/Tribe/Tabbed_View.php
public function get_url( $args, $relative ) {
$relative_path = add_query_arg( $args, $this->url );
return $relative ? $relative_path : admin_url( $relative_path );
}