wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_php_error_args › WordPress Filter Hooks

Since5.2.0
Deprecatedn/a
apply_filters( 'wp_php_error_args', $args, $error )
Parameters: (2)
  • (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.
    Required: Yes
  • (array) $error Error information retrieved from `error_get_last()`.
    Required: Yes
Defined at:
Codex:

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





Source

$args = apply_filters( 'wp_php_error_args', $args, $error );