log("my log message") to log things, which greatly helps debugging - UpdraftPlus is licenced under the GPLv3 or later. In order to combine your backup method with UpdraftPlus, you will need to licence to anyone and everyone that you distribute it to in a compatible way. */ class UpdraftPlus_BackupModule_template { // backup method: takes an array, and shovels them off to the cloud storage function backup($backup_array) { global $updraftplus; foreach ($backup_array as $file) { // Do our uploading stuff... // If successful, then you must do this: // $updraftplus->uploaded_file($file); } } // delete method: takes a file name (base name), and removes it from the cloud storage function delete($file) { global $updraftplus; } // download method: takes a file name (base name), and brings it back from the cloud storage into Updraft's directory // $updraftplus->logging is not available here, but you can register errors with $updraftplus->error("my error message") function download($file) { global $updraftplus; } // config_print: prints out table rows for the configuration screen // Your rows need to have a class exactly matching your method (in this example, template), and also a class of updraftplusmethod // Note that logging is not available from this context; it will do nothing. function config_print() { ?>