apply_filters( 'oembed_min_max_width', array $min_max_width )

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


Parameters

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

Top ↑

Source

File: wp-includes/embed.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes

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