WP_Embed::maybe_make_link

SummerySummery

Conditionally makes a hyperlink based on an internal class variable.

Syntax

WP_Embed::maybe_make_link( string $url )

ParametersParameters

$url

(string) (Required) URL to potentially be linked.

ReturnReturn

(string|false) Linked URL or the original URL. False if 'return_false_on_fail' is true.

SourceSource

File: wp-includes/class-wp-embed.php


			
Scroll to Top