Description
Filters whether to short-circuit default header status handling. Returning a non-false value from the filter will short-circuit the handling and return early.
Occurrences
Filename | Line Number |
---|---|
wp-includes/class-wp.php | 730 |
Parameters
Type | Name | Description |
---|---|---|
bool | $preempt | Whether to short-circuit default header status handling. Default false. |
WP_Query | $wp_query | WordPress Query object. |
PHP Doc
/**
* Filters whether to short-circuit default header status handling.
*
* Returning a non-false value from the filter will short-circuit the handling
* and return early.
*
* @since 4.5.0
*
* @param bool $preempt Whether to short-circuit default header status handling. Default false.
* @param WP_Query $wp_query WordPress Query object.
*/