add_ping filter-hookWP 2.0.0

Filters the new ping URL to add for the given post.

Usage

add_filter( 'add_ping', 'wp_kama_add_ping_filter' );

/**
 * Function for `add_ping` filter-hook.
 * 
 * @param string $new New ping URL to add.
 *
 * @return string
 */
function wp_kama_add_ping_filter( $new ){

	// filter...
	return $new;
}
$new(string)
New ping URL to add.

Changelog

Since 2.0.0 Introduced.

Where the hook is called

add_ping()
add_ping
wp-includes/post.php 5527
$new = apply_filters( 'add_ping', $new );

Where the hook is used in WordPress

Usage not found.