wphooks.info - is_wide_widget_in_customizer

is_wide_widget_in_customizer

The hook occurs in the following file:

wp-includes/class-wp-customize-widgets.php:
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
		$is_wide          = ( $width > 250 && ! $is_core );

		/**
		 * Filters whether the given widget is considered "wide".
		 *
		 * @since 3.9.0
		 *
		 * @param bool   $is_wide   Whether the widget is wide, Default false.
		 * @param string $widget_id Widget ID.
		 */
		return apply_filters( 'is_wide_widget_in_customizer', $is_wide, $widget_id );
	}

	/**
	 * Converts a widget ID into its id_base and number components.
	 *
	 * @since 3.9.0
	 * @access public
	 *
	 * @param string $widget_id Widget ID.