These pickle cupcakes aren't for the faint of heart, but the secret ingredient is one you'll sip even before adding to the mix.  
When we ran into a recipe for pickle cupcakes, we were skeptical until we saw that the secret ingredient is bourbon. We figure that we might as well start with a recipe that includes bourbon to start, just in case, because bourbon fixes most things.  Would you try Pickle Cupcakes?
Here's the recipe, courtesy of Delish and Wide Open Eats:  https://www.wideopeneats.com/would-you-try-this-pickle-cupcakes-recipe/