i have this define
but i need to execute a function with the define set to false. is it possible and in case how?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
Is not possible to redefine a constant. Once a constant is defined, it can never be changed or undefined (From PHP Manual).
This is a constant, not a variable. The constants are not to change. You can not change it.
You should use a true variable instead.
You can read this: https://www.php.net/manual/en/function.define.php