WPDev.one
Core Function
View Source on Trac ↗

wp_video_shortcode()

wp_video_shortcode( mixed $attr, mixed $content = '' )

Builds the Video shortcode output.

Parameters 1 required

Name / Type Description
array

$attr { Attributes of the shortcode.

Required
$content
string

Shortcode content.

Return Value

((string)
| void) HTML content to display video.

Function Information

Since Version
3.6.0
Source File
wp-includes/media.php
Advertisement