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

cpm_milestone_form

Description

cpm_milestone_form is an action triggered before completing a new milestone form.

Usage

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

Parameters

This action function is passed the following parameter.

$project_id

(int) (required) project id. 

$milestone

(object) (required) WP milestone post

Was this article helpful to you?

How can we help?