AP_Update_Helper::best_answers( $_post )

Description #

Update best answer meta.

Source #

File: admin/update.php

	public function best_answers( $_post ) {
		$answer_id = get_post_meta( $_post->ID, '_ap_selected', true );
		ap_set_selected_answer( $_post->ID, $answer_id );
		delete_post_meta( $_post->ID, '_ap_selected' );
	}

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