do_action( 'bp_activity_post_type_remove_comment', bool $deleted, WP_Comment $comment, object $activity_post_object, string $value )

Fires after the custom post type comment activity was removed.

Description

Parameters

$deleted

(bool) True if the activity was deleted false otherwise

$comment

(WP_Comment) Comment object.

$activity_post_object

(object) The post type tracking args object.

$value

(string) The post type comment activity type.

Source

File: bp-activity/bp-activity-functions.php

Changelog

Changelog
Version Description
BuddyPress 2.5.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.