wordpress / latest / hooks / is_wide_widget_in_customizer.html

apply_filters( 'is_wide_widget_in_customizer', bool $is_wide, string $widget_id )

Filters whether the given widget is considered “wide”.

Parameters

$is_wide bool
Whether the widget is wide, Default false.
$widget_id string
Widget ID.

Source

File: wp-includes/class-wp-customize-widgets.php. View all references

return apply_filters( 'is_wide_widget_in_customizer', $is_wide, $widget_id );

Changelog

Version Description
3.9.0 Introduced.

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