wpseek.com
A WordPress-centric search engine for devs and theme authors



pingback_useragent › WordPress Filter Hooks

Since2.9.0
Deprecatedn/a
apply_filters( 'pingback_useragent', $client->useragent . ' -- WordPress/' . get_bloginfo( 'version' )
Parameters: (5)
  • (string) $concat_useragent The user agent concatenated with ' -- WordPress/' and the WordPress version.
    Required: Yes
  • (string) $useragent The useragent.
    Required: Yes
  • (string) $pingback_server_url The server URL being linked to.
    Required: Yes
  • (string) $pagelinkedto URL of page linked to.
    Required: Yes
  • (string) $pagelinkedfrom URL of page linked from.
    Required: Yes
Defined at:
Codex:

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





Source

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