Omeka
What’s new in Omeka
What’s new in Omeka 2.2
What’s new in Omeka 2.1
What’s new in Omeka 2.0
Tutorials
Plugin Basics
Essential Classes in Omeka
The Admin Theme
Public Themes
File Display
International Locale Support
Extending Omeka and the Standard Plugins
User-Submitted Recipes
Reference
Global (Theming) Functions
Hooks
Filters
Models
View Helpers
Controllers
Packages
Class Library by Path
Omeka REST API
Omeka
Docs
»
Reference
»
Packages
»
Global Functions
»
Text-related functions
»
url_to_link
— Convert any URLs in a given string to links.
Edit on GitHub
url_to_link
— Convert any URLs in a given string to links.
¶
Text-related functions
Summary
¶
url_to_link
(
$str
)
¶
Convert any URLs in a given string to links.
Parameters:
$str
(
string
) – The string to be searched for URLs to convert to links.
Returns:
string
Usage
¶
Examples
¶
See Also
¶
Read the Docs
v: stable-2.2
Versions
latest
stable-2.2
stable-2.1
stable-2.0
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.