Uses
Uses | Description |
---|---|
wp-includes/general-template.php: get_bloginfo() | Retrieves information about the current site. |
wp-includes/link-template.php: includes_url() | Retrieves the URL to the includes directory. |
Returns the URLs for CSS files used in an iframe-sandbox’d TinyMCE media view.
(string[]) The relevant CSS file URLs.
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 ); }
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