Developers
...
Filters
Basic

wpgmza_localized_strings

2min

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

ο»Ώ