Saute vegetables in olive oil, in same pan as you used for ham, until softened. Add garlic and sauté for a few more minutes.
Add vegetables to slow cooker with peas and stock. If the stock does not cover everything, add water to cover. Season with salt and pepper. Stir.
Slow cook on low for 6-8 hours, until thick and peas are soft. If desired, add ham the last hour just to heat through. Remove ham hock and discard.
Notes
Substitute leftover ham for the ham hock, if you have some. Leftovers can be refrigerated for 3-4 days.Can be frozen for up to 6 months.Thaw in refrigerator.To reheat, place in microwave safe bowl and microwave 60-90 seconds. Can also be heated in a small saucepan with a tablespoon of water.