cpm_delete_task_prev

Description

cpm_delete_task_prev is an action triggered before deleting task.

Usage

add_action( 'cpm_delete_task_prev', 'your callback function' );

Parameters

This action function is passed the following parameter.

$task_id

(int) (required) Task id

$list_id

(int) (required) List id

$project_id

(int) (required) Project id

$task

(object)(required) WP project post