Feature request
Add the ability to delete values. Currently, only adding values is supported.
Example:
If you currently use the standard math or recaptcha hooks, they add their own match and g-recaptcha-response fields, which can't be deleted. Because of this, they end up in the standard email template when using the email hook. It's impossible to delete them; at best, you can clear them (assign an empty value), which will still leave them in the email, but at least without the associated values.
Suggested solution(s)
Add deleteValue method to Hooks
Feature request
Add the ability to delete values. Currently, only adding values is supported.
Example:
If you currently use the standard math or recaptcha hooks, they add their own match and g-recaptcha-response fields, which can't be deleted. Because of this, they end up in the standard email template when using the email hook. It's impossible to delete them; at best, you can clear them (assign an empty value), which will still leave them in the email, but at least without the associated values.
Suggested solution(s)
Add deleteValue method to Hooks