Codex

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

Function Reference/pingback

This page redirects to an external site: https://developer.wordpress.org/reference/functions/pingback/

Description

Pings back the links found in a post.

Includes wp-include/class-IXR.php file if not already included.

Usage

<code style="color: #000000"><span style="color: #0000BB"><?php pingback</span><span style="color: #007700">( </span><span style="color: #0000BB">$content</span><span style="color: #007700">, </span><span style="color: #0000BB">$post_ID </span><span style="color: #007700">) </span><span style="color: #0000BB">?></span></code>

Parameters

$content
(string) (required) Post content to check for links.
Default: None
$post_ID
(integer) (required) Post ID.
Default: None

Return Values

(void) 
This function does not return a value.

Examples

Notes

Change Log

Since: 0.71

Source File

pingback() is located in wp-includes/comment.php.

Related

trackback_url


See also index of Function Reference and index of Template Tags.