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

cpm_task_new_form

Description

cpm_task_new_form is an action triggered after creating a new task.

Usage

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

Parameters

This action function is passed the following parameter.

$list_id

(int) (required) List id

$project_id

(int) (required) Project id

$task

(object) (required) WP task post

Was this article helpful to you?

How can we help?