Reputation::undo_vote_down( integer $post_id )
Description #
Award reputation when user recive an down vote.
Parameters #
- $post_idinteger (Required) Post ID.
Source #
File: addons/reputation/reputation.php
public function undo_vote_down( $post_id ) { $_post = get_post( $post_id ); ap_delete_reputation( 'received_vote_down', $_post->ID, $_post->post_author ); ap_delete_reputation( 'given_vote_down', $_post->ID ); }
Expand full source code Collapse full source code View on GitHub: addons/reputation/reputation.php:389
Add your comment