Complete the code to activate a WordPress backup plugin.
activate_plugin('[1]');
The correct plugin file path for activating the UpdraftPlus backup plugin is updraftplus/updraftplus.php.
Complete the code to schedule a daily backup using UpdraftPlus.
update_option('updraft_backup_schedule', '[1]');
Setting the backup schedule to 'daily' ensures backups run every day.
Fix the error in the code to restore a backup using UpdraftPlus functions.
updraft_restore('[1]');
The function updraft_restore requires the backup ID to identify which backup to restore.
Fill both blanks to create a backup excluding themes and plugins.
updraft_backup(array('exclude_themes' => [1], 'exclude_plugins' => [2]));
Setting both exclude_themes and exclude_plugins to true excludes them from the backup.
Fill all three blanks to configure remote storage for backups.
update_option('updraft_remote_storage', '[1]'); update_option('updraft_remote_key', '[2]'); update_option('updraft_remote_secret', '[3]');
Setting remote storage to 's3' and providing access and secret keys configures backups to Amazon S3.