apply_filters( 'embed_defaults', int[] $size, string $url )

Filters the default array of embed dimensions.


Parameters

$size

Indexed array of the embed width and height in pixels.<br>

  • (int) The embed width.<br>
  • '1'
    (int) The embed height.<br>

$url

The URL that should be embedded.


Source

File: wp-includes/embed.php

View on GitHub



Changelog

Changelog
Version Description
2.9.0 Introduced.