cpm_message_new
Description
Section titled “Description”cpm_message_new is an action triggered after new message.
add_action( 'cpm_message_new', 'your callback function' );
Parameters
Section titled “Parameters”This action function is passed the following parameter.
$message_id
Section titled “$message_id”(int) (required) Wp message post$project_id
Section titled “$project_id”(int) (required) Project id$postarr
Section titled “$postarr”(array) (required) Message creating information