0
0
Wordpressframework~10 mins

WordPress update management - Interactive Code Practice

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

Complete the code to enable automatic updates for plugins in WordPress.

Wordpress
add_filter('auto_update_plugin', '__[1]');
Drag options to blanks, or click blank then click option'
Areturn_true
Benable_updates
Cdisable_updates
Dreturn_false
Attempts:
3 left
💡 Hint
Common Mistakes
Using return_false disables updates.
Using disable_updates or enable_updates are not valid WordPress functions.
2fill in blank
medium

Complete the code to disable automatic core updates in WordPress.

Wordpress
add_filter('auto_update_core', '__[1]');
Drag options to blanks, or click blank then click option'
Areturn_true
Breturn_false
Cdisable_core_updates
Denable_core_updates
Attempts:
3 left
💡 Hint
Common Mistakes
Using return_true enables updates instead of disabling.
Using disable_core_updates or enable_core_updates are not valid WordPress functions.
3fill in blank
hard

Fix the error in the code to enable automatic theme updates.

Wordpress
add_filter('auto_update_theme', '__[1]');
Drag options to blanks, or click blank then click option'
Areturn_true
Bdisable_theme_updates
Creturn_false
Denable_theme_updates
Attempts:
3 left
💡 Hint
Common Mistakes
Using return_false disables updates.
Using enable_theme_updates or disable_theme_updates are not valid WordPress functions.
4fill in blank
hard

Fill both blanks to enable automatic updates for plugins and themes.

Wordpress
add_filter('auto_update_plugin', '__[1]');
add_filter('auto_update_theme', '__[2]');
Drag options to blanks, or click blank then click option'
Areturn_true
Breturn_false
Cenable_updates
Ddisable_updates
Attempts:
3 left
💡 Hint
Common Mistakes
Using return_false disables updates.
Using enable_updates or disable_updates are not valid WordPress functions.
5fill in blank
hard

Fill all three blanks to disable automatic updates for core, plugins, and themes.

Wordpress
add_filter('auto_update_core', '__[1]');
add_filter('auto_update_plugin', '__[2]');
add_filter('auto_update_theme', '__[3]');
Drag options to blanks, or click blank then click option'
Areturn_true
Breturn_false
Cdisable_updates
Denable_updates
Attempts:
3 left
💡 Hint
Common Mistakes
Using return_true enables updates.
Using disable_updates or enable_updates are not valid WordPress functions.