discover_pingback_server_uri

SummerySummery

Finds a pingback server URI based on the given URL.

Syntax

discover_pingback_server_uri( string $url, int $deprecated = '' )

DescriptionDescription

Checks the HTML for the rel="pingback" link and x-pingback headers. It does a check for the x-pingback headers first and returns that, if available. The check for the rel="pingback" has more overhead than just the header.

ParametersParameters

$url

(string) (Required) URL to ping.

$deprecated

(int) (Optional) Not Used.

Default value: ''

ReturnReturn

(string|false) String containing URI on success, false on failure.

SourceSource

File: wp-includes/comment.php


			

ChangelogChangelog

Changelog
Version Description
1.5.0 Introduced.
Scroll to Top