Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Docs Home

Packages

  • None
  • Product-Delivery-Date-Pro-for-WooCommerce
    • Addon
    • Admin
      • Settings
        • Field-Labels
        • General
        • Google-Sync
      • View-Deliveries
    • Calendar
    • Common-Functions
    • Configuration
    • Delivery-Charges
    • Edit-Deliveries
    • Emails
    • Frontend
      • Cart
      • Checkout
    • Google-Calendar
    • Languages
    • License
    • Reschedule-Deliveries
    • View-Deliveries

Classes

  • prdd_license

Class prdd_license

This class is used to activate the license key which will receive on the purchase of product delivery date plugin.

Package: Product-Delivery-Date-Pro-for-WooCommerce\License
Author: Tyche Softwares
Since: 1.0
Located at prdd-license.php

Methods summary

public static
# prdd_get_edd_sample_license_page( )

This function add the Activate License submenu under the Product Delivery Date menu.

This function add the Activate License submenu under the Product Delivery Date menu.

Since

1.0
public static
# prdd_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.

This function will store the license key in database of the site once the plugin is installed and the license key saved.

Since

1.0

Hook

admin_init
public static
# prdd_edd_sample_activate_license( )

This function will check the license entered using an API call to store into the website. And if it's valid then it will activate the license.

This function will check the license entered using an API call to store into the website. And if it's valid then it will activate the license.

Since

1.0
public static
# prdd_edd_sample_deactivate_license( )

Illustrates how to deactivate a license key. This will decrease the site count.

Illustrates how to deactivate a license key. This will decrease the site count.

Since

1.0

Hook

admin_init
public static
# prdd_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.

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.

Since

1.0
public static
# prdd_get_edd_sanitize_license( String $new )

This function checks if a new license has been entered or not. If yes, plugin must be reactivated.

This function checks if a new license has been entered or not. If yes, plugin must be reactivated.

Parameters

$new
New license key

Since

1.0
API documentation generated by ApiGen