Technical Docs

Search Documentation

Function: tribe_append_path

Append a path fragment to a URL preserving query arguments and fragments.

Located at src/functions/utils.php (Line: 78)

Parameters summary

(string) $url A full URL in the <code>http://example.com/?query=var#frag</code> format.
(string) $path The path to append to the existing, if any, one., e.g. <code>/some/path</code>

Return value summary

(mixed)
(string)

Examples

mixed|string tribe_append_path ( string $url, string $path )