cpm_message_delete
Description
Section titled “Description”cpm_message_delete is an action triggered when message delete.
add_action( 'cpm_message_delete', '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.$force
Section titled “$force”(boolean) (required)