Disable plugin update suppression

Hi! Is it possible to enable license check and updates for ACF since I have a separate ACF license for it?

With a hook in functions.php, for example.

Hi There @kolyasapphire

Thanks for writing in! Because of the way that we are utilizing the plugin in X or Pro, it should be noted that the version of ACF Pro included with the theme is made intentionally for numerous reasons. The following is just a few of the reasons why we do not always utilize the latest version of the ACF Pro plugin.

Stability – Newer versions of software do not always equal greater stability. Oftentimes there are undiscovered bugs that are introduced with certain versions and are unknown until the product has been released to the public for some time. The version of the plugin that we bundle with the theme is more or less guaranteed to work without any issues as we take a great deal of time to test all functionality thoroughly before releasing it along with the theme.

Release Cycles – While we try to include the latest version of ACF Pro with each release, occasionally the release cycle of the plugin will prevent this from being possible. Essentially, since we have no idea when ACF Pro will be releasing new versions of the plugin, we cannot plan our releases around this. Because of this, if we have already begun the process of finalizing our release and submitting it to ThemeForest for review while ACF Pro is putting out a new version of the plugin, that version of the plugin will not be able to make it into the theme until the next release at the earliest.

Not Always Necessary – Some of ACF Pro’s releases have only included simple “bug fixes” without any huge additions or modifications to the rest of the plugin. Because of situations like this, it is up to our discretion whether or not a new release will make it into the theme or not based on the nature of the update.

Because of these reasons (among others), there is no need to register your license for ACF Pro if you happen to have one. In fact, doing so is discouraged in order to prevent any potential conflicts when updating, as previously mentioned. If you happen to see a notification in your WordPress admin panel asking you to register ACF Pro upon activation, simply dismiss this notice.

If you still want to try the latest version for some reason, you can installing the ACF Pro plugin version that comes with your separate purchase.

Thanks for understanding.

Hi @mldarshana

I completely understand, just thought there would be a way for disabling ACF license and update suppression from X / Pro and using latest versions of ACF at our own risk.

As I understand replacing manually the plugin needs to be done every update, but there is an action in /framework/functions/plugins/acf-pro.php which can removed to restore functionality?

add_action( 'init', 'x_acf_pro_remove_license_functionality', 0 );

Hello @kolyasapphire,

Because what you are trying to accomplish requires a template customization, we would highly to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released.

After the child theme is set up, please add the following code in your child theme’s functions.php file

// Add back ACF License Functionality
// =============================================================================

if ( ! function_exists( 'x_acf_pro_remove_license_functionality' ) ) :

  function x_acf_pro_remove_license_functionality() {

    // overrides X theme function by doing nothing and add back the license functionlity

  }

  add_action( 'init', 'x_acf_pro_remove_license_functionality', 0 );

endif;
// =============================================================================

We would loved to know if this has work for you. Thank you.

Hi @RueNel

That should do it, thank you very much!

You’re welcome!
We’re glad we were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.