On this page
apply_filters( 'oembed_min_max_width', array $min_max_width )
Filters the allowed minimum and maximum widths for the oEmbed response.
Parameters
$min_max_widtharray-
Minimum and maximum widths for the oEmbed response.
minintMinimum width. Default 200.maxintMaximum width. Default 600.
Source
File: wp-includes/embed.php. View all references
$min_max_width = apply_filters(
'oembed_min_max_width',
array(
'min' => 200,
'max' => 600,
)
);
Related
Used By
| Used By | Description |
|---|---|
| get_oembed_response_data() wp-includes/embed.php | Retrieves the oEmbed response data for a given post. |
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/oembed_min_max_width