get_to_ping filter-hookWP 2.0.0

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

Usage

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.

Changelog

Since 2.0.0 Introduced.

Where the hook is called

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

Where the hook is used in WordPress

Usage not found.