function mainwp_backuptask_get_sites() { $this->secure_request(); $taskID = $_POST['task_id']; die(json_encode(array('result' => MainWPManageBackups::getBackupTaskSites($taskID)))); }