Hi,
when a plugin or theme causes a fatal error, WordPress shows the message “there has been a critical error on your website”.
Is it possible to redirect users to a custom error page in this case?
Something like this:
if ( is_critical_error() )
{
wp_redirect( "https://mywebsite.com/critical.html" );
exit;
}
Thanks. 