The Capture Name & Address for Free Levels Add On adds billing and address fields at checkout across all membership levels. For most sites, that is exactly what you want. But if you run both paid and free tiers, collecting a billing address from a free member is unnecessary and adds friction to a checkout that should be as simple as (more...)
The Capture Name & Address for Free Levels Add On adds billing and address fields at checkout across all membership levels. For most sites, that is exactly what you want. But if you run both paid and free tiers, collecting a billing address from a free member is unnecessary and adds friction to a checkout that should be as simple as possible.
This code recipe lets you specify which level IDs can exclude billing fields entirely, leaving your other levels untouched.

This recipe is the right fit if:
If you want to remove billing fields from every level, the simpler path is to deactivate the Add On entirely. This recipe is for mixed-level sites where some checkouts need address collection and others do not.
About the Code RecipeThe “Capture Name & Address for Free Levels Add On” registers several WordPress actions during the init hook. Those actions are what add billing fields to the checkout form, mark them as required, and pass address data to offsite payment gateways.
The code recipe also hooks into init, but at the default priority, which runs before the Add On’s registration fires. It calls pmpro_getLevelAtCheckout() to check which level the current visitor is purchasing. If that level ID appears in the $levels_to_hide array, the recipe removes the Add On’s billing-field actions before they have a chance to run.
Members checking out at excluded levels see a standard checkout form with no billing or address fields. Members at all other levels continue through checkout as normal.
The Code Recipe Adding the Recipe to Your WebsiteYou can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.
How to Customize This Recipe$levels_to_hide array on line 18 with the IDs of every level that should skip billing fields. You can find your level IDs on the WordPress Admin under Memberships > Settings > Membership Levels.
Author: PMPro Team
The editorial staff at Paid Memberships Pro is a team of WordPress membership site and online business experts led by Kim and Jason Coleman. Trusted by over 350,000 readers worldwide.
For more help with this PMPro feature, check out our Support Page with three ways to get support as a free or premium member.
Was this article helpful?
YesNo
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Require User Fields on the Member Profile Edit Page | 0 | 5 | 30-06-2026 |
| 2 | Allow Member to Opt-Out of New Series Notification Emails | 0 | 7 | 03-07-2026 |
| 3 | Only Include Admins in the WordPress User Delete Dropdown | 0 | 7 | 25-06-2026 |
| 4 | Troubleshooting Email Delivery on Your Membership Site | 0 | 7 | 30-06-2026 |
| 5 | Memberlite 7.1: Block-Based Header & Footer Variations | 5 | 7 | 03-07-2026 |
| 6 | How to Choose Your Email Marketing System (EMS) | 0 | 5 | 23-06-2026 |
| 7 | Adding a Widerruf or Kündigung Button to a Paid Memberships Pro Site | 0 | 5 | 23-06-2026 |
| 8 | Register a Custom Font Family for Memberlite | 0 | 5 | 24-06-2026 |
| 9 | Are you a YouTube Premium user? You could be paying more than you should be if you’ve subscribed through the Apple App Store | -2 | 3 | 01-07-2026 |
| 10 | У НАС БЕСПЛАТНАЯ КАСТОМИЗАЦИЯ ФУТБОЛОК! Приобретаете футболку в магазине Бифри ... | 5 | 3 | 05-07-2026 |