discover_pingback_server_uri
discover_pingback_server_uri ( $url, $deprecated = '' )
Parameters:- (string) url URL to ping.
- (string) deprecated Not Used.
Returns:- (string|false) String containing URI on success, false on failure.
Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Finds a pingback server URI based on the given URL.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.