3min

wpgmza_localized_strings

Allows you to localize translated strings into the JavaScript engine. Add your strings as key/value pairs where the key is a slug and the value is the translated text for the users locale.

Source

PHP
|

Arguments

  • $strings : The localized (translated) strings for use in JavaScript (array)

Requirements

  • Must return $strings with your changes in place

Files

  • includes/class.strings.php

ο»Ώ