define() / const
Defines unchanging constants.
Syntax
define("NAME", value);Description
Constants do not take $ and cannot be changed. Defined with define() or const.
Example
Loading editor…
Expected output
3.14
When to use?
Settings, fixed values (tax rate, site name).