W3cubDocs

/WordPress

wp_get_additional_image_sizes()

Retrieve additional image sizes.

Return

(array) Additional images size data.

Source

File: wp-includes/media.php

function wp_get_additional_image_sizes() {
	global $_wp_additional_image_sizes;

	if ( ! $_wp_additional_image_sizes ) {
		$_wp_additional_image_sizes = array();
	}

	return $_wp_additional_image_sizes;
}

Changelog

Version Description
4.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_get_additional_image_sizes