WordPress at a glance
function is not described

get_pung() WP 1.5.0

Retrieve URLs already pinged for a post.

  • Since 4.7.0 $post_id can be a WP_Post object.
Hooks in function
Return

Array.

Usage

get_pung( $post_id );
$post_id(int/WP_Post) (required)
Post ID or object.

Code of get pung: wp-includes/post.php VER 5.0.3

<?php
function get_pung( $post_id ) {
	$post = get_post( $post_id );
	if ( ! $post ) {
		return false;
	}

	$pung = trim( $post->pinged );
	$pung = preg_split( '/\s/', $pung );

	/**
	 * Filters the list of already-pinged URLs for the given post.
	 *
	 * @since 2.0.0
	 *
	 * @param array $pung Array of URLs already pinged for the given post.
	 */
	return apply_filters( 'get_pung', $pung );
}