Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
$407 per month—let's make that $500!Learn more
Remove the persistent instance of an object permanently. This deletes rows from the database.
boolean remove ([array $ancestors = array ()])
Get rid of an item.
$item = $xpdo->getObject('Item',123); if ($item->remove() == false) echo 'The Item failed to remove.';