wpview_media_sandbox_styles()
Returns the URLs for CSS files used in an iframe-sandbox'd TinyMCE media view.
No Hooks.
Return
String[]
. The relevant CSS file URLs.
Usage
wpview_media_sandbox_styles();
Changelog
Since 4.0.0 | Introduced. |
wpview_media_sandbox_styles() wpview media sandbox styles code WP 6.6.1
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 ); }