public function run($arguments = array()) { $arguments = Ithemes_Sync_Functions::merge_defaults($arguments, $this->default_arguments); if (true === backupbuddy_api::runLiveSnapshot()) { $status = 'ok'; $message = 'Snapshot initiated. Scanning for changes first.'; } else { $status = 'error'; $message = 'Snapshot failed to initiate. A scan is currently in progress.'; } return array('version' => '1', 'status' => $status, 'message' => $message); }