AnsPress_Reputation_Hooks::new_comment( object $comment )
Description #
Award reputation on new comment.
Parameters #
- $commentobject (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 ); }
Expand full source code Collapse full source code View on GitHub: addons/free/reputation.php:331
Add your comment