cpm_task_new

A- A+

Description

cpm_task_new is an action triggered after creating a new task.

Usage

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

Parameters

This action function is passed the following parameter.

$list_id

(int) (required) List id. 

$task_id

(int) (required) Task id

$data

(array) (required) Task creating information