WordPress at a glance
function is not described

WP_Customize_Widgets::setup_widget_addition_previews() public WP 3.9.0

Deprecated in from version 4.2.0. It is no longer supported and can be removed in future releases. See customize_dynamic_setting_args'} filter.

{@internal Missing Summary}

See the 'customize_dynamic_setting_args' filter.

{} It's a method of the class: WP_Customize_Widgets{}

No Hooks.


Null. Nothing.


$WP_Customize_Widgets = new WP_Customize_Widgets();


Since 3.9.0 Introduced.
Deprecated Since 4.2.0 Deprecated in favor of the {@see 'customize_dynamic_setting_args'} filter.

Code of WP_Customize_Widgets::setup_widget_addition_previews() WP 5.6

public function setup_widget_addition_previews() {
	_deprecated_function( __METHOD__, '4.2.0', 'customize_dynamic_setting_args' );