views:

274

answers:

0

I am creating a plugin for wordpress that requires temporary users to be stored in a separate table to the main users (denying them certain functions such as password recovery et al). I have added some of the login functions to my plugin (get_userdata and get_user_by) as these are the functions that check the database. When I add in the second table to check everything stops working. Can someone tell me how to force the login procedure to check the second table or point me in the direction of a good resource? I have scoured most of the easily found plugin resources and they have not been helpful. Thanks