Definition:
function generic_ping($post_id = 0) {}
Sends pings to all of the ping site services.
Parameters
- int $post_id: Post ID. Not actually used.
Return values
returns:Same as Post ID from parameter
Source code
function generic_ping($post_id = 0) {
$services = get_option('ping_sites');
$services = explode("\n", $services);
foreach ( (array) $services as $service ) {
$service = trim($service);
if ( '' != $service )
weblog_ping($service);
}
return $post_id;
}
1106

February 11, 2011 


No comments yet... Be the first to leave a reply!