0

is it possible to execute a function on wordpress db connection error? I mean is there any hook or something in the (error stablishing database connection) thing...? I want to do something when I get to that error.

1 Answer 1

0

We you want to customise your Error Establishing Database Connection to something else then you need to create a file.

Here is the documentation for that

https://yoast.com/custom-wordpress-database-error-pages/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.