WP_Http::parse_url()protected staticWP 1.0

Deprecated from version 4.4.0. It is no longer supported and can be removed in future releases. Use wp_parse_url() instead.

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

No Hooks.

Return

true|false|Array. False on failure; Array of URL components on success; See parse_url()'s return values.

Usage

$result = WP_Http::parse_url( $url );
$url(string) (required)
The URL to parse.

Notes

Changelog

Deprecated Since 4.4.0 Use wp_parse_url()

Code of WP_Http::parse_url() WP 6.0

protected static function parse_url( $url ) {
	_deprecated_function( __METHOD__, '4.4.0', 'wp_parse_url()' );
	return wp_parse_url( $url );
}