apply_filters( 'wp_php_error_args', array $args, array $error )

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


Parameters

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

Top ↑

Source

File: wp-includes/class-wp-fatal-error-handler.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
5.2.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.