On this page
apply_filters( 'load_script_textdomain_relative_path', string|false $relative, string $src )
Filters the relative path of scripts used for finding translation files.
Parameters
$relativestring|false-
The relative path of the script. False if it could not be determined.
$srcstring-
The full source URL of the script.
Source
File: wp-includes/l10n.php. View all references
$relative = apply_filters( 'load_script_textdomain_relative_path', $relative, $src );
Related
Used By
| Used By | Description |
|---|---|
| load_script_textdomain() wp-includes/l10n.php | Loads the script translated strings. |
Changelog
| Version | Description |
|---|---|
| 5.0.2 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/load_script_textdomain_relative_path