Support » Fixing WordPress » Plugin automatic updates

  • Hello!
    Sorry for my dumb question, but maybe someone can help me anyway 😉

    I added: add_filter( 'auto_update_theme', '__return_true' ); on functions.php file of the active theme directory, but Jetpack plugin is still telling me it has an update available. What am I doing wrong? Why isn’t this code executing or when will it be executed?

    Thank you in advance.

    Damon H.

Viewing 1 replies (of 1 total)
  • 
    add_filter( 'auto_update_theme', '__return_true' );
    

    Above filter automatically updates all themes. In order to update plugins automatically, you need to add another filter.

    
    add_filter( 'auto_update_plugin', '__return_true' );
    
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin automatic updates’ is closed to new replies.