get_pung
Filters the list of already-pinged URLs for the given post.
Использование
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.
Список изменений
С версии 2.0.0 | Введена. |
Где вызывается хук
get_pung
wp-includes/post.php 5665
return apply_filters( 'get_pung', $pung );