get_pung

Definition:
function get_pung($post_id) {}

Retrieve URLs already pinged for a post.

Parameters

  • int $post_id: Post ID.

Defined filters

  • get_pung
    apply_filters('get_pung', $pung)

Source code

function get_pung($post_id) {

	global $wpdb;

	$pung = $wpdb->get_var( $wpdb->prepare( "SELECT pinged FROM $wpdb->posts WHERE ID = %d", $post_id ));

	$pung = trim($pung);

	$pung = preg_split('/\s/', $pung);

	$pung = apply_filters('get_pung', $pung);

	return $pung;

}

1651

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

Leave a comment