Definition:
function get_to_ping($post_id) {}
Retrieve URLs that need to be pinged.
Parameters
- int $post_id: Post ID
Defined filters
- get_to_ping
apply_filters('get_to_ping', $to_ping)
Source code
function get_to_ping($post_id) { global $wpdb; $to_ping = $wpdb->get_var( $wpdb->prepare( "SELECT to_ping FROM $wpdb->posts WHERE ID = %d", $post_id )); $to_ping = trim($to_ping); $to_ping = preg_split('/\s/', $to_ping, -1, PREG_SPLIT_NO_EMPTY); $to_ping = apply_filters('get_to_ping', $to_ping); return $to_ping; }
1863
No comments yet... Be the first to leave a reply!