I’m bundling ACF PRO with my theme and I read somewhere that the update functionality needs to be removed so that other users can’t get updates without a license. I’d like to know what are ALL the files and or folders I need to remove to prevent a person from being able to update the plugin without a license. Thanks.
For ACF PRO to receive updates, a valid license key must be entered. By simply not handing out your license key, the plugin can’t receive updates!
This is a different case with the v4 add-ons where you did have to remove a file to stop automatic updates.
So in short, you don’t need to do a thing!
Thanks for the response.
Here’s the problem though: You just sent out a update for the ACF PRO. The bundled ACF PRO in my theme, while hidden from the admin, still brings up a notification to update. There’s that little icon “1 Plugin Update”. But when a user goes to that page to find what’s new to update, there’s nothing there to update because they don’t have access. This is a problem especially if I’m using an older version of ACF PRO and confusing to the user because they’ll be scratching their heads trying to figure out what’s wrong.
I just checked my other installation using the theme that has ACF PRO bundled with it. ACF PRO is NOT installed as a plugin (and never was) and it’s still asking me to update. I go to the plugin page and there’s nothing there to update.
Any help would be appreciated.
I also bundle this internally with my themes/plugins and I addressed this by commenting out line 39 (connect update) and line 42 (settings) in /pro/acf-pro.php. This removes the notification that an update is available. So no need to constantly change the version number or to set one super high.
The topic ‘Removing Updates from PRO’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!