1. Home
  2. Docs
  3. WP Project Manager
  4. Developer Docs
  5. Actions
  6. cpm_message_delete

cpm_message_delete

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)

Was this article helpful to you?

How can we help?