rest_after_save_widget – action
Fires after a widget is created or updated via the REST API.
Parameters
- .
- ( 5.8.0 ) . .
- ( string ) $id ID of the widget being saved. . . .
- ( string ) $sidebar_id ID of the sidebar containing the widget being saved. . . .
- $request
- ( WP_REST_Request ) Request object. . . .
- ( bool ) $creating True when creating a widget, false when updating. . . .