Codex

Attention Help us to improve the Codex by filling out our documentation survey!

Function Reference/add ping

Contents

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.