Warning: This method has been deprecated. Deprecated in favor of the ‘customize_dynamic_setting_args’ filter instead.
WP_Customize_Widgets::prepreview_added_sidebars_widgets() WordPress Method
The WP_Customize_Widgets::prepreview_added_sidebars_widgets() method is used to add sidebars and widgets to the Customizer preview. This allows for a more accurate representation of how the site will look when published.
WP_Customize_Widgets::prepreview_added_sidebars_widgets() #
{@internal Missing Summary}
Description
See the ‘customize_dynamic_setting_args’ filter.
Source
File: wp-includes/class-wp-customize-widgets.php
public function prepreview_added_sidebars_widgets() { _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. |