WordPress at a glance
function is not described

WP_Customize_Widgets::prepreview_added_widget_instance() 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.

Return

Null. Nothing.

Usage

$WP_Customize_Widgets = new WP_Customize_Widgets();
$WP_Customize_Widgets->prepreview_added_widget_instance();

Changelog

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::prepreview_added_widget_instance() WP 5.5.1

<?php
public function prepreview_added_widget_instance() {
	_deprecated_function( __METHOD__, '4.2.0', 'customize_dynamic_setting_args' );
}