wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_set_script_module_translations › WordPress Function
Depuis7.0.0
Dépréciéen/a
› wp_set_script_module_translations ( $id, $domain = 'default', $path = '' )
| Paramètres: (3) |
|
| Voir: |
|
| Retourne: |
|
| Défini(e) dans: |
|
| Codex: |
Overrides the text domain and path used to load translations for a script module.
Translations for script modules are loaded automatically from the default text domain and language directory. Use this function only when a module's text domain differs from'default' or when translation files live outside
the standard location, for example plugin modules using their own text domain.