Method: url::strip_hash
Strips a hash value from the URL
Info
Syntax
url::strip_hash($url)
Parameters
- $url (string)
Return (string)
Example
echo url::strip_hash('http://testurl.com/#somehash');
// output: 'http://testurl.com/'
Strips a hash value from the URL
url::strip_hash($url)
echo url::strip_hash('http://testurl.com/#somehash');
// output: 'http://testurl.com/'