Uses
Uses | Description |
---|---|
wp-includes/option.php: update_option() | Updates the value of an option that was already added. |
Saves the settings for all instances of the widget class.
(array) (Required) Multi-dimensional array of widget instance settings.
File: wp-includes/class-wp-widget.php
public function save_settings( $settings ) { $settings['_multiwidget'] = 1; update_option( $this->option_name, $settings ); }
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_widget/save_settings