cpm_message_form

A- A+

Description

cpm_message_form is an action triggered before completing the message form.

Usage

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

Parameters

This action function is passed the following parameter.

$project_id

(int) (required) Project id

$message

(object) (required) WP message post