WordPress开发者和主题制作者的搜索引擎



wpview_media_sandbox_styles ›

Since4.0.0
已弃用n/a
wpview_media_sandbox_styles ( 没有参数 )
返回:
  • (array) The relevant CSS file URLs.
定义在:
文档:

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



源码

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