Using Constants for a Text Domain in WordPress

Normally any kind of global values that don’t change within a program’s execution should be defined as constants, but text domains within internationalized WordPress plugins are an exception to that rule. Mark Jaquith explains why it’s important to use a string instead.

Leave a Reply

Your email address will not be published. Required fields are marked *