Hi Drazen Bebic!
I hope this question has not been asked before. At least I could not find exactly the same.
First, your plugin is great! We will soon launch our shop that uses your plugin! 🙂
What I want to do is send some additional data in the response of a key activation request in the REST API.
Right now your plugin gives information if the activation was successful and if yes when and who created the key and to which product ID it belongs to (and some more data).
Now I want to add another field in the JSON object of the response that depends on the product ID of the key. (internally my plan is to lookup a database that contains commands our client application should do after the activation. But that does not relate your plugin itself).
I am new to WordPress and Woocommerce so basically I need to know if this is possible at all and which file of the plugin I would need to edit to send additional data.
(I read about filters but I am not entirely sure if this also works with your plugin).
=== EDIT ===
I guess it will be somewhere around here, right? :
- The topic ‘Send additional data as JSON response after activation’ is closed to new replies.