Function Arguments Return Description Version Path

add_media_page

(string) $page_title
(string) $menu_title
(string) $capability
(string) $menu_slug
(callback) $function = ''
(string|boolean) The resulting page's hook_suffix, or false if the user does not have the capability required.

Add sub menu page to the media main menu.

wp-admin / includes / plugin.php

add_settings_error

(string) $setting
(string) $code
(string) $message
(string) $type = 'error'
(void)

Register a settings error to be displayed to the user

3.0 wp-admin / includes / template.php

add_thickbox

(void)

Enqueues the default ThickBox js and css.

2.5 wp-includes / general-template.php

get_attached_media

(string) $type
(int|WP_Post) $post = 0
(array) Found attachments.

Retrieve media attached to the passed post.

3.6 wp-includes / media.php

get_compat_media_markup

 $attachment_id
(null) $args = null
(void) wp-admin / includes / media.php

get_intermediate_image_sizes

(array) Returns a filtered array of image size strings

Get the available image sizes

3.0 wp-includes / media.php

get_media_embedded_in_content

(string) $content
(array) $types = null
(array) A list of found HTML media embeds

Check the content blob for an