Many membership sites need to collect custom profile fields as part of the checkout process. If your site also leverages Zapier automations to connect third party applications, you may need to include some of the user fields in the data your Zap receives.
This code recipe demonstrates how to use the
pmproz_after_checkout_data hook to include custom user profile fields in the data that Paid Memberships Pro sends to Zapier after checkout. This recipe is specifically designed for sites that are using the Zapier Integration Add On, not the built-in Zapier support in core Paid Memberships Pro.