Using email_exists() wp function in an ajax request

This happens because the PHP file you are using has no connection to WordPress, the function is never loaded. Use the built-in AJAX-API instead, and it will work fine.

Leave a Comment

tech