WordPress at a glance
filter is not described

pingback_useragent filter-hook . WP 2.9.0

Filters the user agent sent when pinging-back a URL.


add_filter( 'pingback_useragent', 'filter_function_name_6973', 10, 5 );
function filter_function_name_6973( $concat_useragent, $useragent, $pingback_server_url, $pagelinkedto, $pagelinkedfrom ){
	// filter...

	return $concat_useragent;
The user agent concatenated with ' -- WordPress/' and the WordPress version.
The useragent.
The server URL being linked to.
URL of page linked to.
URL of page linked from.

Where the hook is called

wp-includes/comment.php 2822
$client->useragent = apply_filters( 'pingback_useragent', $client->useragent . ' -- WordPress/' . get_bloginfo( 'version' ), $client->useragent, $pingback_server_url, $pagelinkedto, $pagelinkedfrom );

Where the hook is used (in WP core)

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