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 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.