function generic_ping($post_id = 0) {}

Sends pings to all of the ping site services.


  • 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 )



	return $post_id;



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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: