Warning: This method has been deprecated. Deprecated in favor of the ‘customize_dynamic_setting_args’ filter instead.

WP_Customize_Widgets::remove_prepreview_filters() WordPress Method

The WP_Customize_Widgets::remove_prepreview_filters() method is used to remove all pre-preview filters from a widget. This is useful for removing unwanted hooks that may be applied to a widget before it is rendered on the front-end.

WP_Customize_Widgets::remove_prepreview_filters() #

{@internal Missing Summary}


Description

See the ‘customize_dynamic_setting_args’ filter.


Top ↑

Source

File: wp-includes/class-wp-customize-widgets.php

	public function remove_prepreview_filters() {
		_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.

Show More