wpview_media_sandbox_styles

Returns the URLs for CSS files used in an iframe-sandbox'd TinyMCE media view.

Description

(array) wpview_media_sandbox_styles(); 

Returns (array)

The relevant CSS file URLs.


Usage

  1. if ( !function_exists( 'wpview_media_sandbox_styles' ) ) { 
  2. require_once ABSPATH . WPINC . '/media.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wpview_media_sandbox_styles(); 
  7.  

Defined (1)

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

/wp-includes/media.php  
  1. function wpview_media_sandbox_styles() { 
  2. $version = 'ver=' . get_bloginfo( 'version' ); 
  3. $mediaelement = includes_url( "js/mediaelement/mediaelementplayer.min.css?$version" ); 
  4. $wpmediaelement = includes_url( "js/mediaelement/wp-mediaelement.css?$version" ); 
  5.  
  6. return array( $mediaelement, $wpmediaelement );