cpm_task_delete

A- A+

Description

cpm_task_delete is an action triggered when deleting task.

Usage

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

Parameters

This action function is passed the following parameter.

$task_id

(int) (required) Task id. 

$force

(boolean) (required)