GuzzleHttpuri_template

Expands a URI template.

Description

(string) GuzzleHttp\uri_template( (string) $template, (array) array $variables ); 

Returns (string)

Parameters (2)

0. $template (string)
The template.
1. $variables (array) => array $variables
Template variables

Usage

  1. if ( !function_exists( 'GuzzleHttp\uri_template' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'w3-total-cache/lib/Azure/GuzzleHttp/functions.php'; 
  3.  
  4. // The template. 
  5. $template = ''; 
  6.  
  7. // Template variables 
  8. $variables = array(); 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = GuzzleHttp\uri_template($template, $variables); 
  12.  

Defined (1)

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

/lib/Azure/GuzzleHttp/functions.php