Filter hook 'pingback_useragent'

in WP Core File wp-includes/comment.php at line 3139

Description

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

Occurrences

Filename Line Number
wp-includes/comment.php 3139

Parameters

Type Name Description
string $concat_useragent The user agent concatenated with ' -- WordPress/' and the WordPress version.
string $useragent The useragent.
string $pingback_server_url The server URL being linked to.
string $pagelinkedto URL of page linked to.
string $pagelinkedfrom URL of page linked from.

PHP Doc

/**
			 * Filters the user agent sent when pinging-back a URL.
			 *
			 * @since 2.9.0
			 *
			 * @param string $concat_useragent    The user agent concatenated with ' -- WordPress/'
			 *                                    and the WordPress version.
			 * @param string $useragent           The useragent.
			 * @param string $pingback_server_url The server URL being linked to.
			 * @param string $pagelinkedto        URL of page linked to.
			 * @param string $pagelinkedfrom      URL of page linked from.
			 */