• Resolved Delagardi

    (@delagardi)


    Hi

    I need to make plugins auto update for my sites. I find the solution at the codex

    I added to my functions.php this code:
    add_filter( 'auto_update_plugin', '__return_true' );

    But now I don’t understand when the upgrade must begin. Or maybe I need to initiate it somehow.

    Help, please

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    If the filter is added properly, the plugins will automatically update the next time an update for them is made available. There’s no need for you to do anything further.

    Thread Starter Delagardi

    (@delagardi)

    Thank you for your answer, James.

    I see unupgraded plugins at my site but they were unupgraded before I add this code to functions.php

    Should I upgrade them manually first time and then they will auto upgrade or how?

    Could you please clarify this moment for me?

    Moderator James Huff

    (@macmanx)

    Yes, trigger the updates manually now, it should work properly for future updates.

    Thread Starter Delagardi

    (@delagardi)

    OK, thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How to START plugins auto update?’ is closed to new replies.