WPDev.one
Core Function
View Source on Trac ↗

wp_embed_defaults()

wp_embed_defaults( mixed $url = '' )

Creates default array of embed parameters.

Parameters 0 required

Name / Type Description
$url
string

Optional. The URL that should be embedded. Default empty.

Return Value

(int[])
int[] { Indexed array of the embed width and height in pixels.

Function Information

Since Version
2.9.0
Source File
wp-includes/embed.php
Advertisement