PHP Code to list All WooCommerce Products From a specific category

WooCommerce is no doubt one of the best plugin which gives you full flexibility to customize it in whatever you wish it.

It has tons of filter and action hooks giving you control to customize it as per your application need. But at times you may need to go one level deeper than using these hooks. This point of time you would love to get your hand dirty and go for PHP code which gives you super freedom to customize WooCommerce plugins at much finer level.

Below is one of such PHP code which you can use in any file on any page to get list of all products from a specific category.

Leave a Reply