scribd_https_oembed

The Jetpack by WordPress.com scribd https oembed function.

Description

scribd_https_oembed( $providers ); 

Parameters (1)

0. $providers
The providers.

Usage

  1. if ( !function_exists( 'scribd_https_oembed' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/shortcodes/scribd.php'; 
  3.  
  4. // The providers. 
  5. $providers = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = scribd_https_oembed($providers); 
  9.  

Defined (1)

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

/modules/shortcodes/scribd.php  
  1. function scribd_https_oembed( $providers ) { 
  2. if ( isset( $providers['#https?://(www\.)?scribd\.com/doc/.*#i'] ) ) { 
  3. $providers['#https?://(www\.)?scribd\.com/doc/.*#i'][0] = 'https://www.scribd.com/services/oembed'; 
  4. return $providers;