oembed_default_width WordPress Filter Hook
The oembed_default_width hook is used to set the default width for an embedded video.
apply_filters( 'oembed_default_width', int $maxwidth ) #
Filters the maxwidth oEmbed parameter.
Parameters
- $maxwidth
(int)Maximum allowed width. Default 600.
Source
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |