PHP Constants

A constant is a value to which we assign a name, and this value will not change. For example, consider a value of a tax such as VAT.

Constants are often used in WordPress configuration as an example. Here’s how to define a constant. By convention, the name of the constant is recommended to be in uppercase. A constant distinguishes between uppercase and lowercase letters.

read more