-
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: ID(s) of the category/categories to be deleted
Parameter $moveBoardsTo
Expected type: Mixed
Description: The ID of the category that all boards in the categories to-be-deleted should be moved to
Allowed types for $moveBoardsTo Allowed values Description Null Delete all boards and topics in these categories (default). Integer Move all boards in these categories to the category with this ID
Notes
- Can be called from outside SMF to delete categories
- Updates the statistics to reflect the changes
- Was located in Subs-Boards.php in 1.1
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.015 seconds with 13 queries.
- Forum Search