BACK TO DIRECTORY
Adds email return format options to Advanced Custom Fields, including a clickable mailto link.
- Email address (default): returns the stored email address as plain text.
- Click to Mail: returns an escaped HTML mailto link displaying the email address.
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().
Screenshots
Advanced Custom Fields Email field settings showing the available return formats: Email address and Click to Mail.
Plugin Details
Active Installs
0Total Downloads
63Version
1.0.1Requires WP
6.0Requires PHP
8.0Tested Up To
7.1.4Added
2026-10-30Last Updated
2026-10-30 9:56pm GMTRatings
5
0
4
0
3
0
2
0
1
0