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:
  • 6: .

Description

Uses RegEx to extract URLs from arbitrary content.

Related Functions

wp_registration_url, wp_get_attachment_url, wp_insert_user, wp_get_update_php_url, wp_get_links

Top Google Results

User discussions

wpseek mobile