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' ); }
Expand full source code Collapse full source code View on GitHub: admin/update.php:257
Add your comment