ActivateWidgets
Activates widgets on a WordPress site by updating their configuration and status.
Stored Procedure-Specific Information
To run this procedure, you must specify the IdBase.
EXEC ActivateWidgets IdBase = 'text'
Input
| Name | Type | Description |
| IdBase | String | The base identifier for the widget type in WordPress, such as 'text' or 'recent-posts'. |
| Sidebar | String | The identifier of the sidebar where this widget is active. If empty, the widget is added in the first sidebar available. This field is optional. |
| Position | Integer | Specifies the position in which the widget appears within the assigned sidebar. This field is optional. |
| SettingsAggregate | String | Contains the widget's configuration data, stored as aggregated settings returned by WordPress. This field is optional. |
Result Set Columns
| Name | Type | Description |
| Success | String | Indicates whether the operation was successful or not. |
| Id | String | The unique identifier for the widget instance being activated. |
| IdBase | String | The base identifier for the widget type in WordPress, such as 'text' or 'recent-posts'. |
| Position | Integer | Specifies the position in which the widget appears within the assigned sidebar. This field is optional. |
| SideBar | String | The identifier of the sidebar where this widget is active. If empty, the widget is added in the first sidebar available. This field is optional. |
| SettingsAggregate | String | Contains the widget's configuration data, stored as aggregated settings returned by WordPress. This field is optional. |