deleteBoards
Description
This function handles deletion of boards.
Syntax
void deleteBoards (array $boards_to_remove[, mixed $moveChildrenTo])
Parameter $boards_to_remove
Expected type: Array of Integers
Description: The ID(s) of the board(s) to remove
Parameter $moveChildrenTo
Expected type: Mixed
Description: Where to move any child boards to
Allowed types for $moveChildrenTo | |
Allowed values | Description |
Null | Delete all child boards (default) |
Integer | ID of the new parent board, or 0 to move them to the top level |
Notes
- Updates all statistics to reflect changes
- Calls reorderBoards to fix board order