bbp_make_emails_clickable( string $text = '' )
Make emails clickable in content areas
Description Description
See also See also
Parameters Parameters
- $text
-
(Optional)
Default value: ''
Return Return
(string)
Source Source
File: includes/common/formatting.php
function bbp_make_emails_clickable( $text = '' ) { return preg_replace_callback( '#([\s>])([.0-9a-z_+-]+)@(([0-9a-z-]+\.)+[0-9a-z]{2,})#i', '_make_email_clickable_cb', $text ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |