wpview_media_sandbox_styles

Advertisement

Summery Summery

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

Syntax Syntax

wpview_media_sandbox_styles()

Return Return

(string[]) The relevant CSS file URLs.

Source Source

File: wp-includes/media.php

 * @param string      $type Mime type.
 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post.
 * @return WP_Post[] Array of media attached to the given post.
 */
function get_attached_media( $type, $post = 0 ) {
	$post = get_post( $post );

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply