wp_embed_handler_audio

Advertisement

Summery Summery

Audio embed handler callback.

Syntax Syntax

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

Parameters Parameters

$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.

Return Return

(string) The embed HTML.

Source Source

File: wp-includes/embed.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.