wp_embed_handler_video

SummerySummery

Video embed handler callback.

Syntax

wp_embed_handler_video( array $matches, array $attr, string $url, array $rawattr )

ParametersParameters

$matches

(array) (Required) The RegEx matches from the provided regex when calling wp_embed_register_handler().

$attr

(array) (Required) Embed attributes.

$url

(string) (Required) The original URL that was matched by the regex.

$rawattr

(array) (Required) The original unmodified attributes.

ReturnReturn

(string) The embed HTML.

SourceSource

File: wp-includes/embed.php


			

ChangelogChangelog

Changelog
Version Description
3.6.0 Introduced.
Scroll to Top