I have checked the code of the "Simple Image Sizes" plugin and found out how "they" read the available thumbnail/image sizes.
However when I use the get_intermediate_image_sizes()
function in a plugin with an if( is_admin() )
clause surrounding it, it only returns the 3 standard WP sizes (thumbnail, medium, large).
I have 4 custom images sizes registered with add_image_size()
.
Any ideas?
get_intermediate_image_sizes
in the frontend (withoutis_admin
)?