videopress_make_video_get_path

Get the video update path.

Description

(string) videopress_make_video_get_path( (string) $guid ); 

Returns (string)

Parameters (1)

0. $guid (string)
The guid.

Usage

  1. if ( !function_exists( 'videopress_make_video_get_path' ) ) { 
  2. require_once '/modules/videopress/utility-functions.php'; 
  3.  
  4. // The guid. 
  5. $guid = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = videopress_make_video_get_path($guid); 
  9.  

Defined (1)

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

/modules/videopress/utility-functions.php  
  1. function videopress_make_video_get_path( $guid ) { 
  2. return sprintf( 
  3. '%s://%s/rest/v%s/videos/%s',  
  4. 'https',  
  5. JETPACK__WPCOM_JSON_API_HOST,  
  6. Jetpack_Client::WPCOM_JSON_API_VERSION,  
  7. $guid 
  8. );