Update a widget block
Changes fields of ONE standalone SiteOrigin widget block, selected by widget_index (from sowb/widget-get). widget_data is a patch: send only the fields you change. Omitted fields keep their stored values. Sections merge by field, and repeater items merge by index; send [] to clear a repeater. Call sowb/widget-describe for the field names. Every string you send is sanitized as post content, whatever your capabilities, and square brackets are stored as full-width brackets, so shortcodes never run. Only draft and pending posts can be updated. When a post has multiple widget blocks, widget_index is required; if it is missing or out of range the call declines as 'widget-ambiguous' rather than guessing. This ability never deletes widgets and never changes a block's widget type.