W3cubDocs

/WordPress

apply_filters( ‘print_head_scripts’, bool $print )

Filters whether to print the head scripts.

Parameters

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

Source

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

Changelog

Version Description
2.8.0 Introduced.

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