mgd_delete_page_tree

(Midgard 1.4.2 'Bifrost')

mgd_delete_page_tree -- Delete a page tree

Description

bool mgd_delete_page_tree (int id)

Minimum version: Midgard 1.4 (Bifrost)

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

Returns TRUE if successful. Returns FALSE on failure.


<?php
mgd_delete_page_tree(13);
?>