This is a beginner development question.
I am looking at extending the Elementor Form to allow for conditional actions (different API calls based off different checkboxes).
Where would one normally insert this PHP code once it is done?
- is it written as an entirely seperate plugin?
- Or is there somewhere else to put the code? Like in the Elementor-pro plugin directory?
For more context, I am following the Custom Form Action documentation at https://developers.elementor.com/forms-api/custom-form-action/, however am not sure where to place the code - I’ve seen on YouTube someone use their theme’s php file, is that a good choice? Is a completely new plugin the way to go? Or is there somewhere else appropriate that requires less work than an entirely new plugin?