Tag Info

About

In WordPress translations are grouped by an identifier named textdomain, a unique string.

Example:

$option = __( 'Option', 'plugin_helloexample' );
  • Never use any translation function without a text domain.
  • Never rely on core strings in your theme or plugin.
  • Always prefix your text domain to avoid collisions.
history | show excerpt | excerpt history

Code Language (used for syntax highlighting): lang-php