If I delete the downvote option from the Reputation section, will it be removed from the question pages?

4.52K viewsUpdates
0

We don’t want to have a downvote button. If I delete the down vote option from the Reputation section, will that also remove the button from the detailed question pages?

Alternatively, I could keep the downvote functionality but change it into a “Like” button worth zero points. How would we go about doing that?

0

Yes disabling downvote from option will hide down vote in AnsPress pages. If you don’t want down vote to be negative you can simply use this hook:

add_action('ap_added_reputation', 'mycuatom_reputation_callback', 10, 4);
function mycuatom_reputation_callback($user_id, $action_id, $reputation, $type){
    if('vote_down' == $type){
        //Your condition.
    }
}
You are viewing 1 out of 1 answers, click here to view all answers.