WPDev.one
Core Function
View Source on Trac ↗

wp_print_script_tag()

wp_print_script_tag( mixed $attributes )

Prints formatted `<script>` loader tag.

Parameters 1 required

Name / Type Description
$attributes
array

Key-value pairs representing `<script>` tag attributes.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
5.7.0
Source File
wp-includes/script-loader.php
Advertisement