I have a file containing all the constants used in the plugin. For example, I have a variable in one of my file
I have a checkbox in admin area where user can enable or disable the paypal feature. This is the checkbox code:
<input type="checkbox" name="enable_paypal" size="40" value=""/>
Issue: Can anybody please tell me how can I write code to modify the
define() so that when checkbox is clicked then make the value to 1 and otherwise value should be 0?