wp_embed_handler_googlevideo

The Google Video embed handler callback.

Description

(string) wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ); 

Deprecated function that previously assisted in turning Google Video URLs into embeds but that service has since been shut down.

Returns (string)

An empty string.

Parameters (4)

0. $matches
The matches.
1. $attr
The attr.
2. $url
The url.
3. $rawattr
The rawattr.

Usage

  1. if ( !function_exists( 'wp_embed_handler_googlevideo' ) ) { 
  2. require_once ABSPATH . WPINC . '/deprecated.php'; 
  3.  
  4. // The matches. 
  5. $matches = null; 
  6.  
  7. // The attr. 
  8. $attr = null; 
  9.  
  10. // The url. 
  11. $url = null; 
  12.  
  13. // The rawattr. 
  14. $rawattr = null; 
  15.  
  16. // NOTICE! Understand what this does before running. 
  17. $result = wp_embed_handler_googlevideo($matches, $attr, $url, $rawattr); 
  18.  

Defined (1)

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

/wp-includes/deprecated.php  
  1. function wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ) { 
  2. _deprecated_function( __FUNCTION__, '4.6.0' ); 
  3.  
  4. return '';