milestone_delete
Triggered upon the milestone deletion.
Teamwork
Input (passed by reference)
$params['ids'] array<int> Array containing the ID of the milestone being deleted.
… your plugin code …
Output
Teamwork
Plugin code example
PHP
public function milestoneDelete($params) { waLog::log( sprintf_wp( 'Milestone #%d has been deleted.', reset($params['ids']) ), sprintf('tasks/plugins/%s/milestone_delete.log', $this->id) ); }