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

cpm_comment_form

Description

cpm_comment_form is an action triggered before completing a new comment form.

Usage

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

Parameters

This action function is passed the following parameter.

$project_id

(int) (required) Wp message post. 

$object_id

(int) (required) message id/ task list id/ task id

$comment

(object) (required)

Was this article helpful to you?

How can we help?