license input on multisite
-
Hey folks,
Can you add something like:
if ( is_multisite() ) { $network_wide_plugins = array_keys( get_site_option( 'active_sitewide_plugins' ) ); $active_plugins = array_merge( $active_plugins, $network_wide_plugins ); }
to
get_active_pro_addons
method? The license input is not available when an add-on activated network-wide.Also, if you make the license key hookable, that would be great.
And my final opinion about this, use a constant (something likeTRP_LICENSE_KEY
) and don’t display the licensing tab when the constant defined.Cheers,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘license input on multisite’ is closed to new replies.