Check woocommerce is active if yes execute php script
-
Hey
I am writing a plugin at the moment for woocommerce. I have the bulk of it done apart from the install section.
I have my code which should copy an existing file within woocommerce and rename this and then copy a replacement for that original file.
What I need help on is the following:
When activating my plugin it has to check that woocommerce is active, if it is active then it executes the copy command etc… if it isn’t active then it does not let the plugin be activated.
Any help on doing this would be appreciated!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Check woocommerce is active if yes execute php script’ is closed to new replies.