I need to modify that function to decrypt the username that I have encrypted.

1 Answer 1


Because it's a pluggable function, and surrounded by an if statement, you can define your own function by making the logic of the if statement evaluate to falsy. In this case, to change the if statement logic to falsy, you need only to define your own wp_parse_auth_cookie() function before the pluggable.php file is loaded. I recommend defining the function in an mu-plugin.


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.