AP_Update_Helper

Class: AnsPress migrator

AP_Update_Helper::migrate_votes()

Method: Migrate votes data from `ap_meta` table to `ap_votes` table.

AP_Update_Helper::change_closed_status()

Method: Change closed post status to publish.

AP_Update_Helper::migrate_post_data()

Method: Migrate question and answer.

AP_Update_Helper::send()

Method: Send ajax response.

AP_Update_Helper::get_tasks()

Method: Get all completed and uncompleted tasks.

AP_Update_Helper::check_tables()

Method: Check if tables are updated, if not create it first.

AP_Update_Helper::check_old_meta_table_exists()

Method: Check if old ap_meta table exists.

AP_Update_Helper::__construct()

Method: Init class.