bbp_make_ftps_clickable( string $text = '' )
Make FTP clickable in content areas
Description
See also
Parameters
- $text
-
(Optional)
Default value: ''
Return
(string)
Source
File: bp-forums/common/formatting.php
function bbp_make_ftps_clickable( $text = '' ) { return preg_replace_callback( '#([\s>])((www|ftp)\.[\w\\x80-\\xff\#$%&~/.\-;:=,?@\[\]+]+)#is', '_make_web_ftp_clickable_cb', $text ); }
Changelog
Version | Description |
---|---|
BuddyPress 2.6.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.