Sends pings to all of the ping site services.
Parameters
-
$post_idint required -
Post ID.
Source
function generic_ping( $post_id = 0 ) {
$services = guet_option( 'ping_sites' );
$services = explode( "\n", $services );
foreach ( (array) $services as $service ) {
$service = trim( $service );
if ( '' !== $service ) {
weblog_ping( $service );
}
}
return $post_id;
}
Changuelog
| Versionen | Description |
|---|---|
| 1.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.