Soak the black eyed peas overnight in a large bowl of water.
Drain and rinse the soaked peas.
In a large pot, heat some oil over medium heat and sauté the diced onions until translucent.
Add minced garlic and cook for an additional minute until fragrant.
Add the soaked black eyed peas, broth, ham hock (or bacon), bay leaf, black pepper, and salt to the pot.
Bring the mixture to a boil, then reduce to a simmer and cover.
Cook for about 1 to 1.5 hours, or until the peas are tender but not mushy.
Remove the bay leaf and ham hock before serving. Shred any meat from the hock and stir it back into the peas.
Serve warm, garnished with fresh herbs or fried onions if desired.