Filters the arguments passed to <a href="https://developer.wordpress.org/reference/functions/wp_die/" rel="function">wp_die()</a> for the default PHP error template.
Parameters
$argsarray- Associative array of arguments passed to
wp_die(). By default these contain a'response'key, and optionally'link_url'and'link_text'keys. $errorarray- Error information retrieved from
error_get_last().
Source
$args = apply_filters( 'wp_php_error_args', $args, $error );
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.