rcp_get_customer_membership_level_names()

Retrieves the customer's memberships ("active" or "canceled" status) and returns the names of the associated membership levels. 

Parameters:

  • $customer_id (int) - ID of the customer to check. Uses currently logged in customer if omitted.

Return values:

  • array - Array of membership level names.
Powered by Zendesk