wordpress / latest / hooks / script_loader_src.html

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 all references

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

Used By

Used By Description

Changelog

Version Description
2.2.0 Introduced.

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