get_url_in_content


get_url_in_content ( $content )

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

Description

Extract and return the first URL from passed content.

Related Functions

get_the_content, get_user_count, get_link_to_edit, get_media_embedded_in_content, get_blog_count

Top Google Results

User discussions

wpseek mobile