Filter
rpress_email_template_make_clickable
On this page
Filters whether URLs in email content are converted to links.
Applied in RPRESS_Emails::text_to_html() for HTML emails, after the wpautop filter. When true, the message passes through make_clickable(), which turns plain URLs into anchor tags. The default is true.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$value | bool | Default value, true. |
Return value#
bool. True to run make_clickable(), false to skip it.
Example#
function my_email_make_clickable( $apply ) {
return false;
}
add_filter( 'rpress_email_template_make_clickable', 'my_email_make_clickable' );
Source#
Applied in:
includes/emails/class-rpress-emails.php(line 351), inRPRESS_Emails::text_to_html()
See also#
Was this page helpful?
