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 all references
$maxwidth = apply_filters( 'oembed_default_width', 600 );
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |