AnsPress_Reputation_Hooks::new_comment( object $comment )

Description #

Award reputation on new comment.

Parameters #

  • $comment
    object (Required) WordPress comment object.

Source #

File: addons/free/reputation.php

	public static function new_comment( $comment ) {
		ap_insert_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