Switch language
wpseek on Twitter


A WordPress-centric search engine for devs and theme authors




get_pung [ ]

get_pung ( $post_id )
Parameters:
  • (int) $post_id Post ID.
Uses:
  • $wpdb
Returns:
  • (array)
Defined at:
Codex



Retrieve URLs already pinged for a post.

Source

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);

	/**
	 * Filter 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.
	 */
	$pung = apply_filters( 'get_pung', $pung );
	return $pung;
}

Top Google Search Results

More ...

User discussions [ wordpress.org ]

User Note(s)