I would like to be able to call an array of the featured images in PHP. Are you able to advise me on the quickest and easiest way to do this?


The easiest way to do this is to manually create an array of product id and use it to get image URL

$productIDs = array(1,2,3,4,5,6,7,8,9);
foreach($productIDs as $productID) {
echo get_the_post_thumbnail($productID);