I know how to set the size of a post thumbnail image using the WP Admin Media Settings or using this function:
set_post_thumbnail_size( 150, 150 )
But how would one get the image width and height that have been set for an image thumbnail size?
I'd like to be able to do something like this:
get_post_thumbnail_size(); // return array(150, 150)
How would this be done? Is it by using get_option()
, and would the options keys be for thumbnail width and height?