mgd_delete_page_tree

Name

mgd_delete_page_tree -- Delete a page tree

Synopsis

bool mgd_delete_page_tree(int id);

Description

Minimum version: Midgard 1.4 (Bifrost)

Deletes the page record with id id and all its children.

Returns true if successfull. Returns false on failure.

Example

<?php
mgd_delete_page_tree(13);
?>