GuzzleHttpdefault_user_agent

Get the default User-Agent string to use with Guzzle.

Description

(string) GuzzleHttp\default_user_agent(); 

Returns (string)


Usage

  1. if ( !function_exists( 'GuzzleHttp\default_user_agent' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'w3-total-cache/lib/Azure/GuzzleHttp/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = GuzzleHttp\default_user_agent(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/lib/Azure/GuzzleHttp/functions.php