strip_fragment_from_url
strip_fragment_from_url ( $url )
Parameters:- (string) url The URL to strip.
Returns:- (string) The altered URL.
Defined at: - Introduced in WordPress: 4.4.0
- Deprecated in WordPress: —
Description
Strips the #fragment from a URL, if one is present.