get_intermediate_image_sizes() WP 1.0
Gets the available intermediate image sizes.
Is the basis for:
wp_generate_attachment_metadata()
✈ 1 time = 0.000018s = very fast | 50000 times = 0.14s = very fast | PHP 7.0.5, WP 4.5.2
Hooks in function
Return
Array. Returns a filtered array of image size strings.
Usage
get_intermediate_image_sizes();
Code of get intermediate image sizes:
wp-includes/media.php
VER 5.0.3
Related Functions
From tag: Thumbnail (images)
- add_image_size()
- delete_post_thumbnail()
- get_post_thumbnail_id()
- get_the_post_thumbnail()
- get_the_post_thumbnail_caption()
- get_the_post_thumbnail_url()
- has_image_size()