- Download function.php from public_html/wp-content/themes/xxxx
- Copy the code on this file and add to the function.php file. See image.
- Login on WordPress backend
- Go to Home/Site Setting >> SITE SETUP. See image.
- Set allow the WordPress and Plugins to be autoupdate automatically. See image.