wpview_media_sandbox_styles() - WordPress 函数参考中文文档

返回介绍

wpview_media_sandbox_styles()

发布于 2017-09-11 字数1404 浏览 916 评论 0

wpview_media_sandbox_styles()

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


描述


返回值

(array) 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.min.css?$version" );
 	$wpmediaelement = includes_url( "js/mediaelement/wp-mediaelement.css?$version" );

	return array( $mediaelement, $wpmediaelement );
}

更新日志

Version 描述
4.0.0 Introduced.

相关函数

Uses

  • wp-includes/general-template.php:
    get_bloginfo()
  • wp-includes/link-template.php:
    includes_url()

Used By

  • wp-admin/includes/ajax-actions.php:
    wp_ajax_parse_embed()
  • wp-admin/includes/ajax-actions.php:
    wp_ajax_parse_media_shortcode()

User Contributed Notes

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

目前还没有任何评论,快来抢沙发吧!