boolean IPS_DeleteCategory (integer $CategoryID)
CategoryID | ID of the category to be deleted |
If the command succeeds, it returns TRUE, otherwise FALSE. |
The command deletes the existing category with the ID CategoryID.
The category can only be deleted if it has no children.
// Delete the category 47788 IPS_DeleteCategory(47788);