wp_extract_urls
wp_extract_urls ( $content )
Parameters:- (string) content Content to extract URLs from.
Returns:- (string[]) Array of URLs found in passed string.
Defined at:Change Log: - Introduced in WordPress: 3.7.0
- Deprecated in WordPress: —
Description
Uses RegEx to extract URLs from arbitrary content.