1

Is there a hook for error_log(...) ? On my development environment I would like to var_dump the results instead of having to check the log file each time.

1
  • 3
    error_log() is a PHP function not a WordPress one so there are no hooks for it.
    – freejack
    Commented Sep 12, 2019 at 17:00

1 Answer 1

1

Try using standard function from PHP set_error_handler()

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.