Dont

Do I need to escape get_the_post_thumbnail function?

Do I need to escape get_the_post_thumbnail function?

No, you don't have to escape the data. And it doesn't need to be escaped. Please take a look at the_post_thumbnail() function, it didn't do any escaping.

Woocommerce products search with custom fields
How do I add custom fields to WooCommerce products? How do I create a product search page? How do I add an advanced custom field in WooCommerce? How d...
How to take product category into account for WooCommerce product search results
How do I display a specific category product in WooCommerce? How do I customize search results in WooCommerce? How do I enable product search in WooCo...
Style Gutenberg Editor based on Post Type or Page Template
How do I enable Gutenberg editor in custom post type? How do I change my template in Gutenberg? What is Gutenberg template? Is Gutenberg a Page builde...