AI Verified
Disable plugin updates
Some plugins just need to stay to that version. This snippet ensures that no automatic or manual update can be performed my anyone.
PHP
Voted: 1 by 1 user(s)
Add your plugin relative path to $pluginsToDisable array in order to block it from any update. The example will block WP Bakery and Advanced Custom Fields.
Scroll down to see more snippets from this codevault.
The author has indicated that this snippet is compatable up to wordpress version: 6.1
Our AI bot has checked this snippet is compatable up to wordpress version: 6.1
Free & Pro
Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.
Pro Only (Coming Soon)
You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.
Last modified:
23/11/2022
This snippet has the following status:
AI Verified
This snippet has been tested by our AI bot, see any comments below.
AI Bot Comments:
Found 0 vulnerabilities
1
Please see some snippets below related to this snippet..
WordPress Admin
AI Verified
Added: 5 months ago
Last Updated: 5 months ago
This snippets removes the "Events" link from the WordPress admin bar. The link comes from The Events Calendar plugin.
WordPress Admin
AI Verified
Added: 1 year ago
Last Updated: 1 month ago
There must be many of these - this is just my test I also want to see if line breaks are preserved in the description should be free
WordPress Admin
AI Verified
Added: 5 months ago
Last Updated: 4 months ago
This snippet adds your custom post types to the "At a Glance" widget on your WordPress Dashboard. By default, only Posts and Pages display, but this snippet will allow you to pull in counters for all...
These are some popular snippets from this users codevault..
WordPress Admin
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
Hide login error making them more generic to avoid giving any hint to potential harmful attacks
WordPress Admin
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
Some plugins just need to stay to that version. This snippet ensures that no automatic or manual update can be performed my anyone.
General
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
This snippet will disable the auto-generated author pages
Category
Snippet Status