LLMS_Helper_Keys::add_license_key( string $activation_data )

Add a single license key

Parameters Parameters


(string) (Required) Array of activation details from api call.

Top ↑

Return Return

(boolean) True if option value has changed, false if not or if update failed.

Top ↑

Source Source

File: libraries/lifterlms-helper/includes/class-llms-helper-keys.php


		$req = new LLMS_Dot_Com_API( '/license/activate', $data );
		set_site_transient( 'llms_helper_keys_activation_response_' . $cache_hash, $req->get_result(), HOUR_IN_SECONDS );

		return $req->get_result();


	 * Add a single license key
	 * @since 3.0.0

Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.