apply_filters( 'oembed_min_max_width', array $min_max_width )
- Since
- 4.4.0
Filters the allowed minimum and maximum widths for the oEmbed response.
Compatibility
- WordPress
- since 4.4.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$min_max_widtharray- { Minimum and maximum widths for the oEmbed response.
@type int $min Minimum width. Default 200.
@type int $max Maximum width. Default 600.
}$minintMinimum width. Default 200.$maxintMaximum width. Default 600.
Where this hook fires · 1
wp-includes/embed.php:577get_oembed_response_data()
Source code
* Minimum and maximum widths for the oEmbed response. * * @type int $min Minimum width. Default 200. * @type int $max Maximum width. Default 600. * } */ $min_max_width = apply_filters( 'oembed_min_max_width', array( 'min' => 200, 'max' => 600, ) );Changelog
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.8.8 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.