Join the community today
Register Now

Wordpress Exclude a plugin from auto update

Discussion in 'Blogs & CMS usage' started by hkim, Mar 17, 2019.

  1. hkim

    hkim New Member

    28
    3
    3
    Feb 14, 2019
    Ratings:
    +4
    Local Time:
    2:24 AM
    I have installed with option 22, which include auto updating of plugins in Wordpress. I have now issues with a new version of a plugin that creates conflicts with other vital plugins. So I want to disable auto updating of this plugin.

    How can I accomplish this?

     
  2. hkim

    hkim New Member

    28
    3
    3
    Feb 14, 2019
    Ratings:
    +4
    Local Time:
    2:24 AM
    I think I got it. This should work?

    crontab -e
    #0 */8 * * * sleep 186s ;/root/tools/wp_updater_psykolog.nu.sh >/dev/null 2>&1

    to disable updating of all plugins?
     
  3. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:24 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    unfortunately only way is to right now manually editing your auto update cronjob script /root/tools/wp_updater_${vhostname}.sh where ${vhostname} is your domain name

    find line that says
    Code (Text):
    /usr/bin/wp plugin update --all --allow-root | tee .wpcli-status

    edit it to below as per wp plugin update | WordPress Developer Resources to add option --exclude=yourpluginname
    Code (Text):
    /usr/bin/wp plugin update --all --exclude=yourpluginname --allow-root | tee .wpcli-status