Reputation::trash_answer( integer $post_id, object $_post )
Description #
Update reputation when a answer is deleted.
Parameters #
- $post_idinteger (Required) Post ID.
- $_postobject (Required) Post object.
Source #
File: addons/reputation/reputation.php
public function trash_answer( $post_id, $_post ) { ap_delete_reputation( 'answer', $post_id, $_post->post_author ); }
Expand full source code Collapse full source code View on GitHub: addons/reputation/reputation.php:321
Add your comment