How to auto update WordPress

  1. Download function.php from public_html/wp-content/themes/xxxx
  2. Copy the code below and add to the function.php file. See image.

add_filter( ‘allow_major_auto_core_updates’, ‘__return_true’ );

add_filter( ‘allow_minor_auto_core_updates’, ‘__return_true’ );

add_filter( ‘auto_update_plugin’, ‘__return_true’ );

add_filter( ‘auto_update_theme’, ‘__return_true’ );

How to auto update WordPress
  1. Download function.php from public_html/wp-content/themes/xxxx
  2. Copy the code below and add to the function.php file. See image.

add_filter( ‘allow_major_auto_core_updates’, ‘__return_true’ );

add_filter( ‘allow_minor_auto_core_updates’, ‘__return_true’ );

add_filter( ‘auto_update_plugin’, ‘__return_true’ );

add_filter( ‘auto_update_theme’, ‘__return_true’ );

Phuket
More
Addresses
Contact Us
Intouch
newsletter
© 2019 Imarketingonly All rights reserved.
  • We will use the data you submit to fulfil your request. Privacy Policy.

Imarketingonly

The Great Oast, Steep Marsh Petersfield Hampshire GU32 2BN
125/5A Srisoonthorn Road. Cherngtalay District. Thalang Phuket 83110
+66 (0) 76 324184 +66(0) 898 740 040 +44 (0) 1730 895648 +44 (0) 208 1234 164 +44 (0) 7798 554540 Start Price 120 GBP