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