Home New Guten Forums WoodMart support forum No automatic updates

No automatic updates

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #668075

    leomshan
    Participant

    Hi, please advise how to prevent themes and certain plugins from automatically updating?

    Thanks & regards

    #668139

    Hello,

    You can disable automatic updates in WordPress by adding this line of code in your wp-config.php file:

    define( 'WP_AUTO_UPDATE_CORE', false );

    If you want to receive minor core updates but disable theme and plugin updates, you can do so by adding the following code in your theme’s functions.php file.

    Disable automatic WordPress plugin updates:

    add_filter( 'auto_update_plugin', '__return_false' );

    Disable automatic WordPress theme updates:

    add_filter( 'auto_update_theme', '__return_false' );

    For more details, follow this documentation:
    https://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-updates-in-wordpress/

    Best Regards,

    #668283

    leomshan
    Participant

    Received, thank you very much

    #668319

    Hello,

    You’re very welcome! If you need anything else, feel free to reach out!

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards,

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

The topic ‘No automatic updates’ is closed to new replies.