rcp_get_customer_by_user_id()

Returns the customer record associated with a given user ID number.

Parameters:

  • $user_id (int) - User ID number.

Return values:

  • RCP_Customer object on success, or false if none found.