Uma área de pesquisa sobre o WordPress para devs e autores do tema



pingback_useragent ›

Desde2.9.0
Obsoleton/a
apply_filters( 'pingback_useragent', $client->useragent . ' -- WordPress/' . get_bloginfo( 'version' )
Parâmetros: (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
Definido em:
Codex:

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





Fonte

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