WordPress at a glance
filter is not described

script_loader_src filter-hook . WP 2.2.0

Filters the script loader source.

Usage

add_filter( 'script_loader_src', 'filter_function_name_978', 10, 2 );
function filter_function_name_978( $src, $handle ){
	// filter...

	return $src;
}
$src(string)
Script loader source path.
$handle(string)
Script handle.

Where the hook is called

WP_Scripts::do_item()
script_loader_src
wp_get_script_polyfill()
script_loader_src
load_script_textdomain()
script_loader_src
_print_emoji_detection_script()
script_loader_src
wp-includes/class.wp-scripts.php 284
$srce = apply_filters( 'script_loader_src', $src, $handle );
wp-includes/script-loader.php 193
$src = esc_url( apply_filters( 'script_loader_src', $src, $handle ) );
wp-includes/class.wp-scripts.php 341
$src = esc_url( apply_filters( 'script_loader_src', $src, $handle ) );
wp-includes/l10n.php 904
$src = esc_url( apply_filters( 'script_loader_src', $obj->src, $handle ) );
wp-includes/formatting.php 5072
'wpemoji' => apply_filters( 'script_loader_src', includes_url( "js/wp-emoji.js?$version" ), 'wpemoji' ),
wp-includes/formatting.php 5074
'twemoji' => apply_filters( 'script_loader_src', includes_url( "js/twemoji.js?$version" ), 'twemoji' ),
wp-includes/formatting.php 5086
'concatemoji' => apply_filters( 'script_loader_src', includes_url( "js/wp-emoji-release.min.js?$version" ), 'concatemoji' ),

Where the hook is used (in WP core)

Does not used.