I'm modifying zencart, amember, and moodle to all keep the same users. In user.php in the admin folder there is a add_pending_user which appears to actually add the user into amember's database, but I cannot figure out where this function is declared. Ultimately I just need to know where the query is declared that adds users into amember. Thanks.