wp_ajax_update_widget() WordPress Function

The wp_ajax_update_widget() function allows you to update a widget via AJAX. This is useful for making sure that your widget is always up to date with the latest information.

wp_ajax_update_widget() #

Ajax handler for updating a widget.


Source

File: wp-admin/includes/ajax-actions.php

function wp_ajax_update_widget() {
	global $wp_customize;
	$wp_customize->widgets->wp_ajax_update_widget();
}

Top ↑

Changelog

Changelog
VersionDescription
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.