Controls
Email control allows you to add and validate email addresses in your blocks.
Control Settings
- Placeholder - Text displayed when the value is empty
- Characters Limit - Maximum number of characters allowed (leave blank for no limit)
Usage
PHP
<p>
<a href="mailto:<?php echo esc_attr( $attributes['control_name'] ); ?>">
Contact us
</a>
</p>
Handlebars
<p>
<a href="mailto:{{control_name}}">
Contact us
</a>
</p>
Post Meta
<p>
<a href="mailto:<?php echo esc_attr( get_lzb_meta( 'control_meta_name' ) ); ?>">
Contact us
</a>
</p>