BBP_BuddyPress_Activity::reply_delete( int $reply_id )

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


Description Description


Parameters Parameters

$reply_id

(Required)


Top ↑

Source Source

File: includes/extend/buddypress/activity.php

	public function reply_delete( $reply_id ) {

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

		return false;
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.