Uma área de pesquisa sobre o WordPress para devs e autores do tema



wpview_media_sandbox_styles ›

Desde4.0.0
Obsoleton/a
wpview_media_sandbox_styles ( Sem parâmetros )
Retorna:
  • (array) The relevant CSS file URLs.
Definido em:
Codex:

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



Fonte

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