apply_filters( 'script_loader_tag', string $tag , string $handle , string $src )
Filters the HTML script tag of an enqueued script.
Parameters
- $tag
-
The
<script>
tag for the enqueued script. - $handle
-
The script's registered handle.
- $src
-
The script's source URL.
Source
Changelog
Version | Description |
---|---|
WP-4.1.0 | Introduced. |