Blender 2.8 API how to get a list of custom transform orientations
orient_slot = bpy.context.scene.transform_orientation_slots[0]
custom = orient_slot.custom_orientation
custom.matrix


reference:
https://blenderartists.org/t/2-80-cheat-sheet-for-updating-add-ons/1148974