-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
deleteCategories
Description
Delete one or more categories.
Syntax
void deleteCategories (array $categories, mixed $moveBoardsTo)
Parameter $categories
Expected type: Array of Integers
Description: The ID(s) of the category / categories to be deleted
Parameter $moveBoardsTo
Expected type: Mixed
Description: The ID of the category where boards from the categories to-be-deleted should be moved to
Allowed types for $moveBoardsTo Allowed values Description Null Delete all boards and posts within the categories (default). Integer ID of the category to move the boards to.
Notes
- Can be called from outside SMF to delete one or more categories
- Updates the statistics to reflect the new situation
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.132 seconds with 13 queries.
- Forum Search