I
I
Ivan2020-06-27 17:22:29
WordPress
Ivan, 2020-06-27 17:22:29

How to use WooCommerce functions in your file?

Created a handler.php file in one of the plugins, wrote there
print_r(WC());
Doesn't work.
I generally need to apply the set_quantity action in it, how to do this?

global $woocommerce tried.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2020-06-27
@youmixx

Here, there is an answer to your question - https://stackoverflow.com/questions/47973325/use-w...
https://stackoverflow.com/questions/15304926/how-t...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question