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.
-
'min'
Source
File: wp-includes/embed.php
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/oembed_min_max_width