Filters the default array of embed dimensions.
$sizeint[]
0 int1 int$urlstring
return apply_filters( 'embed_defaults', compact( 'width', 'height' ), $url );
| Version | Description |
|---|---|
| 2.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/embed_defaults