withPlugins
allows to extend hooks with custom parameters. Useful for advanced use-cases.
Any extra property (not name
, plugins
or hooks
) passed to withPlugins
are returned unchanged.
You can use this to define fields you might want to access from outside your integration while having access to it’s internal state.