cpm_message_new

A- A+

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