Hide Corporate Fields for MemberPress
Adds a Show for Sub-account checkbox to each MemberPress custom field so you can control which fields corporate sub-accounts see on signup and on the account page.
by Omar ElHawary · github.com/omaraelhawary/corporate-hide-fields-memberpress
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/omaraelhawary/corporate-hide-fields-memberpress/archive/refs/heads/main.zipAdds a Show for Sub-account checkbox to each MemberPress custom field so you can control which fields corporate sub-accounts see on signup and on the account page.
Requirements
- WordPress
- MemberPress
- MemberPress Corporate Accounts add-on (the plugin checks for
MPCA_PLUGIN_NAME)
Installation
- Copy the plugin folder into
wp-content/plugins/. - Activate Hide Corporate Fields for MemberPress from the Plugins screen.
If MemberPress or Corporate Accounts is missing, an admin notice explains what is required.
Usage
- In WordPress admin, go to MemberPress → Settings → Fields (custom fields).
- For each custom field row, use Show for Sub-account:
- Checked — sub-accounts see the field (signup and account).
- Unchecked — the field is hidden for sub-account signup and account flows.
Validation for hidden fields is suppressed for sub-accounts so they are not blocked by required rules on fields they cannot see. Works with classic MemberPress UI and ReadyLaunch where applicable.
Author
Omar ElHawary — GitHub
License
GPL v2 or later.