Filter Protected Mailto Links


This filter allows you to filter protected mailto links.

Parameter Type Description
$link string The link you are going to filter. (It may be protected, depending on your settings)
$display string The display text for the mailto tag
$email string The email itself
$attrs array Custom attributes that can be set either by or plugin or by using the shortcode functionality.
$link = apply_filters( 'wpml_mailto', $link, $display, $email, $attrs );
Updated on September 10, 2019

Was this article helpful?

Related Articles