get_to_ping хук-фильтрWP 2.0.0

Filters the list of URLs yet to ping for the given post.

Использование

add_filter( 'get_to_ping', 'wp_kama_get_to_ping_filter' );

/**
 * Function for `get_to_ping` filter-hook.
 * 
 * @param string[] $to_ping List of URLs yet to ping.
 *
 * @return string[]
 */
function wp_kama_get_to_ping_filter( $to_ping ){

	// filter...
	return $to_ping;
}
$to_ping(string[])
List of URLs yet to ping.

Список изменений

С версии 2.0.0 Введена.

Где вызывается хук

get_to_ping()
get_to_ping
wp-includes/post.php 5626
return apply_filters( 'get_to_ping', $to_ping );

Где используется хук в WordPress

Использование не найдено.