W3cubDocs

/WordPress

wpview_media_sandbox_styles()

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

Return

(string[]) The relevant CSS file URLs.

Source

File: wp-includes/media.php

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 );
}

Changelog

Version Description
4.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wpview_media_sandbox_styles