Answer:
Via define() directive, like define (“MYCONSTANT”, 100);
Previous Question | Next Question |
How to pass a variable by value in WordPress? | Do you know Would I use print “$a dollars” or “{$a} dollars” to print out the amount of dollars in this example? |