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.


Top ↑

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' );
	}


Top ↑

Changelog

Changelog
VersionDescription
4.2.0Deprecated in favor of the 'customize_dynamic_setting_args' filter.
3.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.