Core Function
View Source on Trac ↗ add_ping()
add_ping( mixed $post, mixed $uri ) Adds a URL to those already pinged.
Parameters 2 required
| Name / Type | Description |
|---|---|
| (int | | WP_Post) $post Post ID or post object. Required |
| (string | | array) $uri Ping URI or array of URIs. Required |
Return Value
((int)
| false) How many rows were updated.
Function Information
Since Version
1.5.0
Source File
wp-includes/post.php
Advertisement