get_url_in_content


get_url_in_content ( $content )

Parameters:
  • (string) content A string which might contain a URL.
Returns:
  • (string|bool) The found URL.
Defined at:

Description

Extract and return the first URL from passed content.

Related Functions

get_the_content, get_link_to_edit, get_media_embedded_in_content, get_the_content_feed, get_default_link_to_edit

Top Google Results

User discussions

wpseek mobile