wpseek.com
A WordPress-centric search engine for devs and theme authors



oembed_default_width › WordPress Filter Hooks

Since4.4.0
Deprecatedn/a
apply_filters( 'oembed_default_width', 600 )
Parameters:
  • (int) $maxwidth Maximum allowed width. Default 600.
    Required: Yes
Defined at:
Codex:

Filters the maxwidth oEmbed parameter.





Source

$maxwidth = apply_filters( 'oembed_default_width', 600 );