Last active
January 15, 2026 08:10
-
-
Save dwanjuki/52b7ef37f65a4912d294e97119c318ce to your computer and use it in GitHub Desktop.
Hide PMPro Billing Address fields
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php // copy from below. | |
| /** | |
| * Hide PMPro Billing Address fields. | |
| * | |
| * You 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. | |
| * https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
| */ | |
| add_filter( 'pmpro_hide_billing_address_fields', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment