oembed_min_max_width

Advertisement

Summery Summery

Filters the allowed minimum and maximum widths for the oEmbed response.

Syntax Syntax

apply_filters( 'oembed_min_max_width', array $min_max_width )

Parameters Parameters

$min_max_width

(array) Minimum and maximum widths for the oEmbed response.

  • 'min'
    (int) Minimum width. Default 200.
  • 'max'
    (int) Maximum width. Default 600.

Source Source

File: wp-includes/embed.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.