W3cubDocs

/WordPress

apply_filters( 'script_loader_src', string $src, string $handle )

Filters the script loader source.

Parameters

$src

(string) Script loader source path.

$handle

(string) Script handle.

Source

File: wp-includes/class.wp-scripts.php

View on Trac

Changelog

Version Description
2.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/script_loader_src