Filter hook 'wp_php_error_args'

in WP Core File wp-includes/class-wp-fatal-error-handler.php at line 231

Description

Filters the arguments passed to {@see wp_die()} for the default PHP error template.

Occurrences

Filename Line Number
wp-includes/class-wp-fatal-error-handler.php 231

Parameters

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

PHP Doc

/**
		 * Filters the arguments passed to {@see wp_die()} for the default PHP error template.
		 *
		 * @since 5.2.0
		 *
		 * @param array $args Associative array of arguments passed to `wp_die()`. By default these contain a
		 *                    'response' key, and optionally 'link_url' and 'link_text' keys.
		 * @param array $error Error information retrieved from `error_get_last()`.
		 */