get_url_in_content
get_url_in_content ( $content )
Parameters:- (string) content A string which might contain an `A` element with a non-empty `href` attribute.
Returns:- (string|false) Database-escaped URL via {@see esc_url()} if found, otherwise `false`.
Defined at: - Introduced in WordPress: 3.6.0
- Deprecated in WordPress: —
Description
Extracts and returns the first URL from passed content.