WordPress at a glance
filter is not described

script_loader_tag filter-hook . WP 4.1.0

Filters the HTML script tag of an enqueued script.


add_filter( 'script_loader_tag', 'filter_function_name_8727', 10, 3 );
function filter_function_name_8727( $tag, $handle, $src ){
	// filter...

	return $tag;
The <script> tag for the enqueued script.
The script's registered handle.
The script's source URL.

Where the hook is called

wp-includes/class.wp-scripts.php 364
$tag = apply_filters( 'script_loader_tag', $tag, $handle, $src );

Where the hook is used (in WP core)

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