|
@@ -450,6 +450,7 @@ discard block |
|
|
block discarded – undo |
|
450
|
450
|
* @param string $sidebar (Optional) A sidebar to which this widget will be moved. |
|
451
|
451
|
* @param string|integer (Optional) A new position to which this widget will be moved within its new or existing sidebar. |
|
452
|
452
|
* @param array|object|string $settings Settings to merge with the existing settings of the widget (will be passed through `decode_settings`). |
|
|
453
|
+ * @param string $position |
|
453
|
454
|
* |
|
454
|
455
|
* @return array|WP_Error The newly added widget as an associative array with all the above properties. |
|
455
|
456
|
*/ |
|
@@ -513,7 +514,7 @@ discard block |
|
|
block discarded – undo |
|
513
|
514
|
/** |
|
514
|
515
|
* Find a widget in a list of all widgets retrieved from a sidebar |
|
515
|
516
|
* using get_widgets_in_sidebar() |
|
516
|
|
- * @param string $widget The widget we want to look up in the sidebar |
|
|
517
|
+ * @param string $widget_id The widget we want to look up in the sidebar |
|
517
|
518
|
* |
|
518
|
519
|
* @param string $widgets_all the array of widget is' in a given sidebar |
|
519
|
520
|
* |
Please login to merge, or discard this patch.