AnsPress_Reputation_Hooks::new_answer( integer $post_id,  $_post )

Description #

Add reputation for new answer.

Parameters #

  • $post_id
    integer (Required) Post ID.

Source #

File: addons/free/reputation.php

	public static function new_answer( $post_id, $_post ) {
		ap_insert_reputation( 'answer', $post_id, $_post->post_author );
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment