WordPress.org

Codex

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

Function Reference/add ping

Description

Add a URL to those already pung.

Usage

<?php add_ping$post_id$uri ?>

Parameters

$post_id
(integer) (required) Post ID.
Default: None
$uri
(string) (required) Ping URI.
Default: None

Return Values

(integer) 
Count of updated rows.

Examples

Notes

Change Log

Since: 1.5.0

Source File

add_ping() is located in wp-includes/post.php.

Related

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