How can I capture Memberpress user info after signup [closed]

After searching for about 2 days I was able to figure out a way to capture the user after signup process is completed and the user’s payment goes through the payment gateway, the way I’m doing it right now is when a signup process is completed user is redirected to thank-you page and a querystring containing subscr_id is passed on that page and I’m capturing that subscr_id and fetching the user from the database manually and its working perfectly fine, the process is seamless, and I can use the data on my other page templates as well.

You can simply get subscr_id from $_GET[‘subscr_id’] and use that to capture the user associated with this subscription from the table ‘wp_mepr_subscriptions’ and then use the user id to fetch the user detail from ‘wp_usermeta’ table of the wordpress, hope it helps someone else 🙂