WordPress at a glance
filter is not described

load_script_textdomain_relative_path filter-hook . WP 5.0.2

Filters the relative path of scripts used for finding translation files.


add_filter( 'load_script_textdomain_relative_path', 'filter_function_name_3957', 10, 2 );
function filter_function_name_3957( $relative, $src ){
	// filter...

	return $relative;
The relative path of the script. False if it could not be determined.
The full source url of the script.

Where the hook is called

wp-includes/l10n.php 979
$relative = apply_filters( 'load_script_textdomain_relative_path', $relative, $src );

Where the hook is used (in WP core)

Использование не найдено.