WordPress at Your Fingertips
function is not described

SimplePie_Misc::parse_url() public WP 1.0

{} It's a method of the class: SimplePie_Misc{}

No Hooks.

Return

null. Nothing.

Usage

$result = SimplePie_Misc::parse_url( $url );
$url (required)
-

Code of SimplePie_Misc::parse_url() WP 5.8.2

public static function parse_url($url)
{
	$iri = new SimplePie_IRI($url);
	return array(
		'scheme' => (string) $iri->scheme,
		'authority' => (string) $iri->authority,
		'path' => (string) $iri->path,
		'query' => (string) $iri->query,
		'fragment' => (string) $iri->fragment
	);
}