wp_http_validate_url

Advertisement

Summery Summery

Validate a URL for safe use in the HTTP API.

Syntax Syntax

wp_http_validate_url( string $url )

Parameters Parameters

$url

(string) (Required) Request URL.

Return Return

(string|false) URL or false on failure.

Source Source

File: wp-includes/http.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
3.5.2 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.