Loader::load_script_translation_file( string $file, string $handle, string $domain )
Load translation strings from language packs for dynamic imports.
Description Description
Parameters Parameters
- $file
-
(Required) File location for the script being translated.
- $handle
-
(Required) Script handle.
- $domain
-
(Required) Text domain.
Return Return
(string) New file location for the script being translated.
Source Source
File: packages/woocommerce-admin/src/Loader.php