How to use hook into variables?
-
Hi,
In version 1.3.2 I used some manual code (edited your plugin) to send some values to several custom fields.
Now in version 1.3.6. I see a filter “Allow hooking into variables”.
Does this now mean I can put my changes into functions.php, instead of needing to add my code to your plugin?
Can you please give me an example of how to add a custom field in functions.php?
My code simply generates a random coupon code, and adds it to woocommerce. The code, of course, must also be sent to MailChimp…
Thanks!!!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to use hook into variables?’ is closed to new replies.