Delete a page tree

This script will delete the entire tree of pages included the parent.

number parent = getPage("CTR", "Delete a page tree"); //parent page of tree to delete

//sample syntax - deletePageTree(pageId);

deletePageTree(parent); //deletes the whole tree


See Other Recipes

See More Documentation