AnsPress_Reputation_Hooks::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/free/reputation.php
public static 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/free/reputation.php:252
Add your comment