wordpress / latest / hooks / print_head_scripts.html

apply_filters( 'print_head_scripts', bool $print )

Filters whether to print the head scripts.

Parameters

$print bool
Whether to print the head scripts. Default true.

Source

File: wp-includes/script-loader.php. View all references

if ( apply_filters( 'print_head_scripts', true ) ) {

Used By

Used By Description

Changelog

Version Description
2.8.0 Introduced.

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