embed_defaults

Advertisement

Summery Summery

Filters the default array of embed dimensions.

Syntax Syntax

apply_filters( 'embed_defaults', array $size, string $url )

Parameters Parameters

$size

Indexed array of the embed width and height in pixels.

  • (int) The embed width.
  • '1'
    (int) The embed height.

$url

The URL that should be embedded.

Source Source

File: wp-includes/embed.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply