evolve_tinyurl

The evolve evolve tinyurl function.

Description

evolve_tinyurl( $url ); 

Parameters (1)

0. $url
The url.

Usage

  1. if ( !function_exists( 'evolve_tinyurl' ) ) { 
  2. require_once '/library/functions/basic-functions.php'; 
  3.  
  4. // The url. 
  5. $url = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = evolve_tinyurl($url); 
  9.  

Defined (1)

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

/library/functions/basic-functions.php  
  1. function evolve_tinyurl($url) { 
  2. $response = esc_url(wp_remote_retrieve_body(wp_remote_get('http://tinyurl.com/api-create.php?url=' . $url))); 
  3.  
  4. return $response;