1. Home
  2. Docs
  3. WP Project Manager
  4. Developer Docs
  5. Actions
  6. cpm_task_new

cpm_task_new

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

Was this article helpful to you?

How can we help?