Reputation::new_answer( integer $post_id, WP_Post $_post )
Description #
Add reputation for new answer.
Parameters #
- $post_idinteger (Required) Post ID.
- $_postWP_Post (Required) Post object.
Source #
File: addons/reputation/reputation.php
public function new_answer( $post_id, $_post ) { ap_insert_reputation( 'answer', $post_id, $_post->post_author ); }
Expand full source code Collapse full source code View on GitHub: addons/reputation/reputation.php:301
Add your comment