Reputation::new_comment( object $comment )
Description #
Award reputation on new comment.
Parameters #
- $commentobject (Required) WordPress comment object.
Source #
File: addons/reputation/reputation.php
public function new_comment( $comment ) { ap_insert_reputation( 'comment', $comment->comment_ID, $comment->user_id ); }
Expand full source code Collapse full source code View on GitHub: addons/reputation/reputation.php:400
Add your comment