Tag: woocommerce

WooCommerce: How to get Product data from $product Object

WooCommerce: How to get Product data from $product Object

These simple PHP snippets will help you in your work with WooCommerce Products. 1. You have access to $product Hooks (do_action and apply_filters) use additional arguments which are passed on to the function. If they allow you to use the “$product” object you are in business. Alternatively, you can declare the “global $product” inside your…

Read More Read More

Inline
Inline