0
0
Wordpressframework~10 mins

Backup plugins in Wordpress - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to activate a WordPress backup plugin.

Wordpress
activate_plugin('[1]');
Drag options to blanks, or click blank then click option'
Aupdraftplus/updraftplus.php
Bakismet/akismet.php
Cjetpack/jetpack.php
Dcontact-form-7/wp-contact-form-7.php
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing plugins unrelated to backup like Akismet or Jetpack.
Using incorrect plugin file paths.
2fill in blank
medium

Complete the code to schedule a daily backup using UpdraftPlus.

Wordpress
update_option('updraft_backup_schedule', '[1]');
Drag options to blanks, or click blank then click option'
Aweekly
Bdaily
Cmonthly
Dhourly
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'weekly' or 'monthly' which are less frequent.
Using 'hourly' which is not typical for backups.
3fill in blank
hard

Fix the error in the code to restore a backup using UpdraftPlus functions.

Wordpress
updraft_restore('[1]');
Drag options to blanks, or click blank then click option'
Arestore_point
Bbackup_path
Cbackup_file
Dbackup_id
Attempts:
3 left
💡 Hint
Common Mistakes
Passing a file path instead of a backup ID.
Using incorrect parameter names.
4fill in blank
hard

Fill both blanks to create a backup excluding themes and plugins.

Wordpress
updraft_backup(array('exclude_themes' => [1], 'exclude_plugins' => [2]));
Drag options to blanks, or click blank then click option'
Atrue
Bfalse
C1
D0
Attempts:
3 left
💡 Hint
Common Mistakes
Using false which includes themes and plugins.
Mixing true and false values.
5fill in blank
hard

Fill all three blanks to configure remote storage for backups.

Wordpress
update_option('updraft_remote_storage', '[1]');
update_option('updraft_remote_key', '[2]');
update_option('updraft_remote_secret', '[3]');
Drag options to blanks, or click blank then click option'
As3
Bmy-access-key
Cmy-secret-key
Dftp
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'ftp' without keys.
Mixing keys with wrong storage type.