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.

Top ↑

Source

File: wp-includes/l10n.php. View all references

$relative = apply_filters( 'load_script_textdomain_relative_path', $relative, $src );


Top ↑

Changelog

Changelog
Version Description
5.0.2 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.