WPDev.one
Filter Hook

exit_on_http_head

apply_filters( 'exit_on_http_head', true )

Filters whether to allow 'HEAD' requests to generate content. Provides a significant performance bump by exiting before the page content loads for 'HEAD' requests. See #14348.

Parameters 0 required

Name / Type Description
true
mixed

No description available.

Return Value

(mixed)
No return value description available.

Hook Information

Source File
wp-includes/template-loader.php
Advertisement