WordPress at a glance
filter is not described

oembed_min_max_width filter-hook . WP 4.4.0

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

Usage

add_filter( 'oembed_min_max_width', 'filter_function_name_5271' );
function filter_function_name_5271( $min_max_width ){
	// filter...

	return $min_max_width;
}
$min_max_width(array)

Minimum and maximum widths for the oEmbed response.

  • $min (int)
    Minimum width.
    Default: 200

  • $max (int)
    Maximum width.
    Default: 600

Where the hook is called

get_oembed_response_data()
oembed_min_max_width
wp-includes/embed.php 520-523
$min_max_width = apply_filters( 'oembed_min_max_width', array(
	'min' => 200,
	'max' => 600
) );

Where the hook is used (in WP core)

Does not used.