Created
August 8, 2025 08:50
-
-
Save JarrydLong/399cef83e9eec8f0da117b503a41bd5d to your computer and use it in GitHub Desktop.
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 //do not copy | |
| /** | |
| * Removes the Map address fields from the checkout page | |
| * when using Member Directory 2.1+ | |
| */ | |
| function mypmpro_remove_map_fields_checkout() { | |
| remove_action( 'init', 'pmpromd_add_user_fields' ); | |
| } | |
| add_action( 'init', 'mypmpro_remove_map_fields_checkout' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment