This is a customization for the Memberpress Corporate Addon, and helps with subscribers usability. I’ve found that users had a hard time understanding how to setup sub accounts because they couldn’t easily find it in their accounts page.
This function creates a new tab on the Account page called “Sub Accounts” so the subscribers can easily find and access where to create their sub accounts.
The code below accounts for both recurring and non recurring subscriptions. Paste the function below into your theme’s functions.php file
Feel free to ask any questions in the comment below and I’ll try to help. Also, let me know how this worked out for you. Happy customizing!