print_head_scripts WordPress Filter Hook
The print_head_scripts hook is used to print scripts or data in the head tag of the document. This hook is typically used to add custom CSS or JavaScript to the header.
apply_filters( 'print_head_scripts', bool $print ) #
Filters whether to print the head scripts.
Parameters
(bool)Whether to print the head scripts. Default true.
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |