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.

Basic CPT Question About Categories
What are the 3 categories of CPT codes? What types of procedures or services are included in each of the CPT code categories? What are Category I CPT ...
After new user logs in or signs up, make a POST call in Wordpress
How do I redirect a WordPress user after login? How do I allow users to sign up for WordPress? How do I make my WordPress page accessible when logged ...
Custom menu including also primary menu items
What is a primary menu? How do I add a custom menu item in WordPress? What is Customize menu? What is primary menu and secondary menu? What are the tw...