Inventory_Presser_Addon::make_sure_license_is_activated( mixed $license_item, mixed $license_key )

make_sure_license_is_activated


Parameters Parameters

$license_item

(mixed) (Required)

$license_key

(mixed) (Required)


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/addon/class-addon.php

		public static function make_sure_license_is_activated( $license_item, $license_key ) {
			$license = new Inventory_Presser_Addon_License(
				$license_key,
				$license_item
			);
			if ( ! $license->is_active() ) {
				$license->activate();
			}
		}