apply_filters( 'load_script_textdomain_relative_path', string|false $relative, string $src )
Filters the relative path of scripts used for finding translation files.
Parameters
- $relative
-
(string|false) The relative path of the script. False if it could not be determined.
- $src
-
(string) The full source URL of the script.
Source
File: wp-includes/l10n.php
Changelog
Version | Description |
---|---|
5.0.2 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/load_script_textdomain_relative_path