WP_Widget::save_settings( array $settings )

In this article

Saves the settings for all instances of the widget class.

Parameters

$settingsarrayrequired
Multi-dimensional array of widget instance settings.

Source

public function save_settings( $settings ) {
	$settings['_multiwidget'] = 1;
	update_option( $this->option_name, $settings );
}

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.