get_pung
Filters the list of already-pinged URLs for the given post.
Usage
add_filter( 'get_pung', 'wp_kama_get_pung_filter' );
/**
* Function for `get_pung` filter-hook.
*
* @param string[] $pung Array of URLs already pinged for the given post.
*
* @return string[]
*/
function wp_kama_get_pung_filter( $pung ){
// filter...
return $pung;
}
- $pung(string[])
- Array of URLs already pinged for the given post.
Changelog
| Since 2.0.0 | Introduced. |
Where the hook is called
get_pung
wp-includes/post.php 6032
return apply_filters( 'get_pung', $pung );