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

cpm_comment_delete

Description

cpm_comment_delete is an action triggered when comment delete.

Usage

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

Parameters

This action function is passed the following parameter.

$comment_id

(int) (required) comment id. 

$force_delete

(boolean) (required)

Was this article helpful to you?

How can we help?