WordPress at Your Fingertips
filter is not described

load_script_translation_file filter-hook . WP 5.0.2

Filters the file path for loading script translations for the given script handle and text domain.


add_filter( 'load_script_translation_file', 'filter_function_name_646', 10, 3 );
function filter_function_name_646( $file, $handle, $domain ){
	// filter...

	return $file;
Path to the translation file to load. False if there isn't one.
Name of the script to register a translation domain to.
The text domain.


Since 5.0.2 Introduced.

Where the hook is called

wp-includes/l10n.php 1163
$file = apply_filters( 'load_script_translation_file', $file, $handle, $domain );

Where in WP core the hook is used WordPress

Usage not found.