wpseek.com
A WordPress-centric search engine for devs and theme authors



wpview_media_sandbox_styles › WordPress Function

Since4.0.0
Deprecatedn/a
wpview_media_sandbox_styles ( No parameters )
Returns:
  • (string[]) The relevant CSS file URLs.
Defined at:
Codex:

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



Source

function wpview_media_sandbox_styles() {
	$version        = 'ver=' . get_bloginfo( 'version' );
	$mediaelement   = includes_url( "js/mediaelement/mediaelementplayer-legacy.min.css?$version" );
	$wpmediaelement = includes_url( "js/mediaelement/wp-mediaelement.css?$version" );

	return array( $mediaelement, $wpmediaelement );
}