Get thumbnails with array sizes parameter
You’re almost correct. You really can pass an array as size parameter for that function, but… $size (string|array) (Optional) Image size to retrieve. Accepts any valid image size, or an array of width and height values in pixels (in that order). Default value: ‘thumbnail’ So you can’t use it in the way you wanted to… … Read more