contacts_delete

Triggered immediately upon deletion of one or several contacts in Contacts app.

Shop-Script

Input (passed by reference)

$params array Array of IDs of contacts being deleted.
… your plugin code …

Output

Shop-Script

Plugin code example

PHP

public function contactsDelete($params)
{
    waLog::log('These contacts were just deleted: '.implode(', ', $params), 'shop/myplugin/contact-delete.log');
}