Potential bug getting license key from Integrations\WooCommerceSubscriptions
-
in wp-content\plugins\license-manager-woo\includes\Integrations\WooCommerceSubscriptions:
public function getCustomerLicenseKeys( $args ) returns null when ‘order’ is not included in the args.I’m not sure why its being called on my non-subscription product after getCustomerLicenseKeys($order) from wp-content\plugins\license-manager-woo\includes\Integrations, but I was able to get it showing my license info by adding
public function getCustomerLicenseKeys( $args ) {
if (!isset($args['order'])) {
//Args does not contain 'order' key, return input.
return $args;
}
//rest of code
}
I just wanted to report in case this was a bug.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.