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.
$argsarray
wp_die(). By default these contain a 'response' key, and optionally 'link_url' and 'link_text' keys.$errorarray
error_get_last().$args = apply_filters( 'wp_php_error_args', $args, $error );
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_php_error_args