LLMS_Helper_Keys::remove_license_key( string $key )

Remove a single license key


Parameters Parameters

$key

(string) (Required) License key.


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

	public static function remove_license_key( $key ) {
		$keys = llms_helper_options()->get_license_keys();
		if ( isset( $keys[ $key ] ) ) {
			unset( $keys[ $key ] );
		}
		return llms_helper_options()->set_license_keys( $keys );
	}


Top ↑

Changelog 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.