hogava Posted October 31, 2020 Share Posted October 31, 2020 Hi I want add a value to "Custom Field" of product, during order process. how i can do this with hook? 0 Quote Link to comment Share on other sites More sharing options...
hogava Posted November 1, 2020 Author Share Posted November 1, 2020 Exactly I want to add a value to a product custom field when invoice paid, that shown in order or invoice page. Thanks for your help. <?php add_hook('InvoicePaid', 1, function($vars) { // Perform hook code here... }); 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.