discover_pingback_server_uri


discover_pingback_server_uri ( $url, $deprecated = '' )

Parameters:
  • (string) $url URL to ping.
  • (int) $deprecated Not Used.
Returns:
  • (false|string) False on failure, string containing URI on success.
Defined at:

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.

Related Functions

pingback_ping_source_uri, xmlrpc_pingback_error, is_server_error

Top Google Results

User discussions

wpseek mobile