WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get to ping

Description

Retrieve URLs that need to be pinged.

Usage

<?php get_to_ping$post_id ?>

Parameters

$post_id
(integer) (required) Post ID
Default: None

Return Values

(array) 
Returns array of URLs that need to be pinged.

Examples

Notes

  • Uses global: (object) $wpdb to read 'to_ping' field from _posts table from database.
  • Uses: apply_filters() on 'get_to_ping' on the URLs that need to be pinged.

Change Log

Since: 1.5.0

Source File

get_to_ping() is located in wp-includes/post.php.

Related

See also index of Function Reference and index of Template Tags.