wp_get_additional_image_sizes

Retrieve additional image sizes.

Description

(array) wp_get_additional_image_sizes(); 

Returns (array)

Additional images size data.


Usage

  1. if ( !function_exists( 'wp_get_additional_image_sizes' ) ) { 
  2. require_once ABSPATH . WPINC . '/media.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wp_get_additional_image_sizes(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/media.php  
  1. function wp_get_additional_image_sizes() { 
  2. global $_wp_additional_image_sizes; 
  3. if ( ! $_wp_additional_image_sizes ) { 
  4. $_wp_additional_image_sizes = array(); 
  5. return $_wp_additional_image_sizes;