Warning: This method has been deprecated. Deprecated in favor of the ‘customize_dynamic_setting_args’ filter instead.
WP_Customize_Widgets::setup_widget_addition_previews() WordPress Method
The WP_Customize_Widgets::setup_widget_addition_previews() method sets up the widget addition previews for the current Customizer session. This includes setting up the previewer and setting up the Customizer settings and controls for each widget that can be added.
WP_Customize_Widgets::setup_widget_addition_previews() #
{@internal Missing Summary}
Description
See the ‘customize_dynamic_setting_args’ filter.
Source
File: wp-includes/class-wp-customize-widgets.php
public function setup_widget_addition_previews() { _deprecated_function( __METHOD__, '4.2.0', 'customize_dynamic_setting_args' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.2.0 | Deprecated in favor of the 'customize_dynamic_setting_args' filter. |
3.9.0 | Introduced. |