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: |
|
Defined at: |
|
Codex: |
Returns the URLs for CSS files used in an iframe-sandbox'd TinyMCE media view.
Related Functions: print_embed_styles, _wp_multiple_block_styles, wp_print_styles, wp_get_layout_style, image_media_send_to_editor
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 ); }