« Back to Product

Documentation

IPS_DeleteCategory

 boolean IPS_DeleteCategory (int $CategoryID) 

Parameters

CategoryID

ID of the category to be deleted

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

The command deletes the existing category with the ID CategoryID.

Warning

The category can only be deleted if it has no children.

Example

// Delete the category 47788
IPS_DeleteCategory(47788);
Any questions?