diff --git a/client-mu-plugins/goodbids/src/classes/Auctions/Auctions.php b/client-mu-plugins/goodbids/src/classes/Auctions/Auctions.php index 185a5ec99..1714102aa 100644 --- a/client-mu-plugins/goodbids/src/classes/Auctions/Auctions.php +++ b/client-mu-plugins/goodbids/src/classes/Auctions/Auctions.php @@ -950,6 +950,12 @@ function ( string $html, int $post_id ) { return $html; } + // If the auction has a featured image + if ( has_post_thumbnail( $post_id ) ) { + return $html; + } + + // Default to the WooCommerce featured image or WooCommerce default image $reward_id = $this->get_reward_product_id( $post_id ); $product = wc_get_product( $reward_id );