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

Extracts and returns the first URL from passed content.

Related Functions

get_the_content, get_user_count, get_shortcode_tags_in_content, get_link_to_edit, get_media_embedded_in_content

Top Google Results

User discussions

wpseek mobile