Envira gallery license field

Hi. I have the full version for Envira so that I can use some of the addons. I already have the license entered in the wp-config file and tried adding the following to my child theme functions (from a thread 4 days ago) but when I view the addons it asks me to refresh and then gives me a 404 page

function x_envira_gallery_remove_license_functionality() {
return true;
}

https://www.sowinteraction.com/staging-wp/ with a passcode of quick to view the site

I will send you login info in a secure note. Thanks!

Hello There,

Thanks for writing in! I can confirmed that the code no longer works. I modified the code and use this code:

function x_envira_gallery_remove_license_functionality() { 
  if (is_admin() ) {
    remove_action( 'envira_gallery_admin_styles', 'x_envira_gallery_hide_key_box' );
    remove_action( 'admin_print_scripts', 'x_envira_gallery_hide_license_errors', 20 );
  }
}
add_action('admin_init', 'x_envira_gallery_remove_license_functionality');

Please check your site now and enter your Envira gallery license key.

Best Regards.

1 Like

@RueNel – Thank you very much. They are updating without issue. Best!

Glad to hear it’s sorted.

Cheers!

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