wp_convert_widget_settings


wp_convert_widget_settings ( $base_name, $option_name, $settings )

Parameters:
  • (string) base_name Root ID for all widgets of this type.
  • (string) option_name Option name for this widget type.
  • (array) settings The array of widget instance settings.
Returns:
  • (array) The array of widget settings converted to multi-widget format.
Defined at:

Description

Converts the widget settings from single to multi-widget format.

Related Functions

wp_heartbeat_settings, wp_color_scheme_settings, wp_user_settings, wp_get_widget_defaults, wp_get_global_settings

Top Google Results

User discussions

wpseek mobile