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.

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...
How to upload an image to a custom post type
How do I add multiple images to a custom post type? How do I upload a custom image in WordPress? How do I create a custom post type Gallery? How do I ...
List categories
How do you show category list? How do I list categories in WordPress? How do I fetch all category names in WordPress? How do I get a list of all categ...