Adds “First Name” and “Last Name” fields to the “Account Information” section of the Membership Checkout page when using Paid Memberships Pro.
17
stars
24
forks
source link
Make first/last name optional with filters. #18
Closed
ronalfy closed 4 years ago
This PR adds two filters:
pmproan2c_first_name_required
pmproan2c_last_name_required
Both take booleans.
true
is default.An example of the filters in use:
The following scenarios have been tested:
Function variables are used at first instead of globals so as to not populate the global namespace until we are sure there are errors to display.