Filter hook 'embed_defaults'

in WP Core File wp-includes/embed.php at line 91

Description

Filters the default array of embed dimensions. }

Occurrences

Filename Line Number
wp-includes/embed.php 91

Parameters

Type Name Description
int[] $size { Indexed array of the embed width and height in pixels.
string $url The URL that should be embedded.

PHP Doc

/**
	 * Filters the default array of embed dimensions.
	 *
	 * @since 2.9.0
	 *
	 * @param int[]  $size {
	 *     Indexed array of the embed width and height in pixels.
	 *
	 *     @type int $0 The embed width.
	 *     @type int $1 The embed height.
	 * }
	 * @param string $url  The URL that should be embedded.
	 */