Function Arguments Return Description Version Path

_cleanup_image_add_caption

 $matches
(void)

Private preg_replace callback used in image_add_caption()

3.4 wp-admin / includes / media.php

_copy_image_file

(string) $attachment_id
(string|false) New file path on success, false on failure.

Copy an existing image file.

3.4 wp-admin / includes / image.php

_delete_attachment_theme_mod

(int) $id
(void)

Checks an attachment being deleted to see if it’s a header or background image.

3.0 wp-includes / theme.php

_get_random_header_data

(object)

Get random header image data from registered images in theme.

3.4 wp-includes / theme.php

_load_image_to_edit_path

(string) $attachment_id
(string) $size = 'full'
(string|false) File path or url on success, false on failure.

Retrieve the path or url of an attachment’s attached file.

3.4 wp-admin / includes / image.php

_wp_get_image_size_from_meta

(string) $size_name
(array) $image_meta
(array|boolean) Array of width and height values in pixels (in that order) or false if the size doesn't exist.

Get the image size as array from its meta data.

4.4 wp-includes / media.php

_wp_image_editor_choose

(array) $args = array()
(string|false) Class name for the first editor that claims to support the request. False if no editor claims to support the request.

Tests which editors are capable of supporting the request.

3.5 wp-includes / media.php

_wp_post_thumbnail_class_filter

(array) $attr
(array) Modified array of attributes including the new 'wp-post-image' class.

Adds a ‘wp-post-image’ class to post thumbnails. Internal use only.

2.9 wp-includes / media.php

_wp_post_thumbnail_class_filter_add

(array) $attr
(void)

Adds ‘_wp_post_thumbnail_class_filter’ callback to the ‘wp_get_attachment_image_attributes’ filter hook. Internal use only.

2.9 wp-includes / media.php

_wp_post_thumbnail_class_filter_remove

(array) $attr
(void)

Removes the ‘_wp_post_thumbnail_class_filter’ callback from the ‘wp_get_attachment_image_attributes’ filter hook. Internal use only.

2.9 wp-includes / media.php