Class bkap_license
Bookings and Appointment Plugin for WooCommerce
Handling License of the Booking and Appointment Plugin for WooCommerce
Methods summary
public static
|
|
public static
|
#
bkap_edd_sample_register_option( )
This function will store the license key in database of the site once the plugin is installed and the license key saved. |
public static
|
#
bkap_edd_sample_activate_license( )
This function will check the license entered using an API call to the store website and if its valid it will activate the license. |
public static
|
#
bkap_edd_sample_deactivate_license( )
Illustrates how to deactivate a license key. This will descrease the site count. |
public static
|
#
bkap_edd_sample_check_license( )
This illustrates how to check if a license key is still valid. The updater checks this,so this is only needed if you want to do something custom. |
public static
|
#
bkap_get_edd_sanitize_license( $new )
This function checks if a new license has been entered, if yes plugin must be reactivated. |