WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

XML-RPC Pingback API

WordPress supports the Pingback XML-RPC API. This support was added in WordPress 1.5.0.

pingback.ping

Register a pingback.

Parameters

  • string sourceUri
  • string targetUri

Return Values

  • string: For debugging.

Errors

See spec for possible fault codes.

pingback.extensions.getPingbacks

Retrieves list of URLs that pingbacked the given URL.

Parameters

  • string url: URL of a post on this blog.

Return Values

  • array of strings: URLs that pingbacked url.

Errors

  • 33
    • If unable to convert url to a post on this blog.
  • 32
    • If the post does not exist.