mgd_delete_attachment

Name

mgd_delete_attachment -- Delete an attachment

Synopsis

bool mgd_delete_attachment(int id);

Description

Minimum version: Midgard 1.4 (Bifrost)

Deletes the attachment with id id

Returns true if successfull. Returns false on failure.

Example

<?php
mgd_delete_attachment(13);
?>