W3cubDocs

/WordPress

apply_filters( ‘script_module_loader_src’, string $src, string $id )

Filters the script module source.

Parameters

$srcstring
Module source URL.
$idstring
Module identifier.

Source

$src = apply_filters( 'script_module_loader_src', $src, $id );

Changelog

Version Description
6.5.0 Introduced.

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