strangerstudios / pmpro-add-name-to-checkout

Adds “First Name” and “Last Name” fields to the “Account Information” section of the Membership Checkout page when using Paid Memberships Pro.
https://www.paidmembershipspro.com/add-ons/add-first-last-name-to-checkout/
17 stars 23 forks source link

V 3 1 compat #36

Closed kimcoleman closed 1 month ago

kimcoleman commented 1 month ago

Compatibility for v3.1+ of Paid Memberships Pro.

If the user is logged in, we needed a new name for the box. We are using Your Name for now and will consider to switch this if have a hook in core within the current Account Information box when skip_account_fields is true.

I added a note in the code about this.

Screenshot 2024-07-18 at 11 56 03 AM Screenshot 2024-07-18 at 12 17 07 PM