apply_filters( 'pingback_useragent', string $concat_useragent, string $useragent, string $pingback_server_url, string $pagelinkedto, string $pagelinkedfrom )

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


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

Top ↑


File: wp-includes/comment.php. View all references

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

Top ↑


Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.