is_current_url — Check if the given URL matches the current request URL.¶
Summary¶
- is_current_url($url)¶
Check if the given URL matches the current request URL.
Instantiates view helpers directly because a view may not be registered.
Parameters: - $url (string) –
Returns: boolean