license manager issue

  • Unknown's avatar

    I use great plugin from here: https://www.licensemanager.at/

    But I have some issue: I need to check if me licence key was already activated, and the best would be to get number of the “Maximum activation count” left to use.

    Sorry I am totally new in php, and I tried method lmfwc_get_license_meta(); but it always returns false for me. No matter how many times I activated the license.

    My code is:

    ‘$license = lmfwc_get_license($licenseKey);

    if (!$license)
    return “License doesn’t exist”;

    $previousActivation = lmfwc_get_license_meta($license->getId(), ‘Activation’, true);

    if($previousActivation)
    return “already activated”;
    else
    return “not activated”;’

    I assume my metaKey ”Activation” is wrong. But I have no ideat what key to use?

    For any help great thanks in advance.
    Best regards
    Wojtek

  • Hi Wojtek,

    it looks like you are talking about a site that is not hosted with WordPress.com. It is using the open-source WordPress software (from WordPress.org) but hosted elsewhere.

    Because WordPress.com and WordPress.org are two entirely separate entities, we cannot access files or data for sites that are hosted elsewhere, so WordPress.com staff can only assist with sites that are hosted on our servers. You can read more about the differences between WordPress.org software and WordPress.com here:

    WordPress.com vs. WordPress.org

    You can look for help at the community forums here: https://wordpress.org/support/forums/

    http://wordpress.org/support/ is also a great resource for sites using the open-source WordPress.org software.

  • The topic ‘license manager issue’ is closed to new replies.