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

cpm_message_new

Description

cpm_message_new is an action triggered after new message.

Usage

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

Parameters

This action function is passed the following parameter.

$message_id

(int) (required) Wp message post

$project_id

(int) (required) Project id

$postarr

(array) (required) Message creating information

Was this article helpful to you?

How can we help?