• Resolved manu225

    (@manu225)


    Hi,

    I have an custom script that was working well, but i see yesterday that a problem with the function lmfwc_get_license.
    I pass the key (not encryted) to this function to check if license is not expired.
    But now the function always return false (i tried with 2 different license keys).

    So i tried this code:

    $license = LicenseResourceRepository::instance()->findBy(
        array(
            'hash' => apply_filters('lmfwc_hash', $key)
        )
    );

    Doesn’t work better ??
    And the strange thing is that the result of apply_filters('lmfwc_hash', $key) is always the same, even i put a different license for the $key variable…

    Thanks for help!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘lmfwc_get_license function doesn’t work?’ is closed to new replies.