Reputation::delete_comment( object $comment )

Description #

Undo reputation on deleting comment.

Parameters #

  • $comment
    object (Required) Comment object.

Source #

File: addons/reputation/reputation.php

	public function delete_comment( $comment ) {
		ap_delete_reputation( 'comment', $comment->comment_ID, $comment->user_id );
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment