Used By
Used By | Description |
---|---|
wp-includes/l10n.php: load_script_translations() | Loads the translation data for the given script handle and text domain. |
Pre-filters script translations for the given file, script handle and text domain.
Returning a non-null value allows to override the default logic, effectively short-circuiting the function.
(string|false|null) JSON-encoded translation data. Default null.
(string|false) Path to the translation file to load. False if there isn't one.
(string) Name of the script to register a translation domain to.
(string) The text domain.
File: wp-includes/l10n.php
Version | Description |
---|---|
5.0.2 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_load_script_translations