elgg_in_context(string $context)
Check if this context exists anywhere in the stack.
if($item instanceof\ElggEntity) elseif($item instanceof\ElggRiverItem) elseif($item instanceof\ElggRelationship) elseif(is_callable([$item, 'getType']))
elgg_get_current_url()
Returns the current page's complete URL.
elgg_http_url_is_identical(string $url1, string $url2, array $ignore_params=['offset', 'limit'])
Test if two URLs are functionally identical.
elgg_generate_url(string $name, array $parameters=[])
Generate a URL for named route.