Adds email return format options to Advanced Custom Fields, including a clickable mailto link.
Works with get_field() and get_sub_field(), including Advanced Custom Fields repeater subfields. Saved field values are unchanged.
Requires Advanced Custom Fields or Advanced Custom Fields PRO to be active.
When using Click to Mail in templates, output the returned HTML with wp_kses_post() instead of esc_html(). For plain email addresses, use esc_html().