WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about pre_handle_404

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp.php apply_filters 697 /**
* 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.
*/

Hook Parameters

Parameter Type Name Description
bool $preempt Whether to short-circuit default header status handling. Default false.
WP_Query $wp_query WordPress Query object.