mgd_delete_attachment

(Midgard 1.4.2 'Bifrost')

mgd_delete_attachment -- Delete an attachment

Description

bool mgd_delete_attachment (int id)

Minimum version: Midgard 1.4 (Bifrost)

Deletes the attachment with id id

Returns TRUE on success, FALSE on failure.


<?php
mgd_delete_attachment(13);
?>