wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_should_handle_php_error › WordPress Filter Hooks
Since5.2.0
Deprecatedn/a
› apply_filters( 'wp_should_handle_php_error', false, $error )
Parameters: (2) |
|
Defined at: | |
Codex: |
Filters whether a given thrown error should be handled by the fatal error handler.
This filter is only fired if the error is not already configured to be handled by WordPress core. As such, it exclusively allows adding further rules for which errors should be handled, but not removing existing ones.
Related Functions: wp_show_heic_upload_error, wp_send_json_error, wp_kses_html_error, wp_scheduled_delete, wp_media_upload_handler, wp_handle_upload