apply_filters( ‘oembed_min_max_width’, array $min_max_width )

In this article

Filters the allowed minimum and maximum widths for the oEmbed response.

Parameters

$min_max_widtharray
Minimum and maximum widths for the oEmbed response.
  • min int
    Minimum width. Default 200.
  • max int
    Maximum width. Default 600.

Source

$min_max_width = apply_filters(
	'oembed_min_max_width',
	array(
		'min' => 200,
		'max' => 600,
	)
);

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.