- This topic has 2 replies, 2 voices, and was last updated 3 weeks ago by .
I am working on a custom plugin in which I would like to run certain code only if a checkbox field created using MB is ticked.
Code for the Settings page and fields: https://pastebin.com/raw/4QSjwZSr
Desired conditional code: https://pastebin.com/raw/qjT0bDCh
The checkbox field has been set to be ticked by default.
I am looking to run the code only if it is ticked.
What is happening currently is that the code is not running all the time i.e, as if the checkbox is not ticked.
- You must be logged in to reply to this topic.