WordPress at a glance

wp_get_additional_image_sizes() WP 1.0

Retrieve additional image sizes.

  • Global. Array. $_wp_additional_image_sizes
✈ 1 time = 0.000024s = very fast | 50000 times = 0.01s = speed of light | PHP 7.1.5, WP 4.8.2

No Hooks.

Return

Array. Additional images size data.

Usage

wp_get_additional_image_sizes();

Code of wp_get_additional_image_sizes: wp-includes/media.php VER 5.0.1

<?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;
}

Related Functions

From tag: image (not thumbnails funcs)

More from category: Thumbnails

No comments
    Hello, !     Log In . Register