cpm_message_delete

A- A+

Description

cpm_message_delete is an action triggered when message delete.

Usage

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

Parameters

This action function is passed the following parameter.

$message_id

(int) (required) Wp message post. 

$force

(boolean) (required)