• amila

    (@flatworld21)


    I added this in the functions.php of the theme.

    add_filter('authenticate', 'check_login', 100, 3);
    function check_login($user, $username, $password) {
        error_log("ddddddddddddddddddddddddd");
    }

    I could not login any more, which means the hook is working.
    But I could not found the log in C:\xampp\php\logs

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘error_log can not output’ is closed to new replies.