BBP_BuddyPress_Activity::reply_delete( int $reply_id )

Delete the activity stream entry when a reply is spammed, trashed, or deleted

Description

Parameters

$reply_id

(int) (Required)

Source

File: bp-forums/activity.php

	public function reply_delete( $reply_id ) {

		// Get activity ID, bail if it doesn't exist
		if ( $activity_id = $this->get_activity_id( $reply_id ) )
			return bp_activity_delete( array( 'id' => $activity_id ) );

		return false;
	}

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.