apply_filters( 'oembed_default_width', int $maxwidth )

Filters the maxwidth oEmbed parameter.

Parameters

$maxwidth

(int) Maximum allowed width. Default 600.

Source

File: wp-includes/class-wp-oembed-controller.php

View on Trac

Changelog

Version Description
4.4.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/oembed_default_width