WordPress at Your Fingertips
filter is not described

wp_php_error_args filter-hook . WP 5.2.0

Filters the arguments passed to wp_die() for the default PHP error template.


add_filter( 'wp_php_error_args', 'filter_function_name_4444', 10, 2 );
function filter_function_name_4444( $args, $error ){
	// filter...

	return $args;
Associative array of arguments passed to wp_die(). By default these contain a 'response' key, and optionally 'link_url' and 'link_text' keys.
Error information retrieved from error_get_last().


Since 5.2.0 Introduced.

Where the hook is called

wp-includes/class-wp-fatal-error-handler.php 223
$args = apply_filters( 'wp_php_error_args', $args, $error );

Where in WP core the hook is used WordPress

Usage not found.