W3cubDocs

/WordPress

apply_filters( ‘script_loader_src’, string $src, string $handle )

Filters the script loader source.

Parameters

$srcstring
Script loader source path.
$handlestring
Script handle.

Source

$filtered_src = apply_filters( 'script_loader_src', $src, $handle );

Changelog

Version Description
2.2.0 Introduced.

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