How to detect if this post is a woocommerce product?

Question

Let’s say I have post has the ID 243. Is there a function that detects if this is a woocommerce product or no. maybe the function return true/false

0
amr 2 years 2020-10-21T15:10:22-05:00 0 Answers 15 views 0

Leave an answer

Browse
Browse