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

Packages

  • None
  • Order-Delivery-Date-Pro-for-WooCommerce
    • Admin
      • Edit-Order
      • Non-Sensitive-Data-Capture
      • Settings
        • Custom-Delivery
        • General
        • Google-Calendar-Sync
    • Class-ORDDD-Email-Manager
    • Common-Functions
    • Delivery-Calendar
    • Emails
      • Class-ORDDD-Email-Update-Date
    • Filter
    • Frontend
      • Checkout-Page-Processes
      • ICS-Files-Data
    • Google-Calendar
    • Integration
    • Lang
    • License
    • Plugin-Updates
      • EDD-SL-Plugin-Updater

Classes

  • orddd_license

Class orddd_license

orddd_license Class

Package: Order-Delivery-Date-Pro-for-WooCommerce\License
Author: Tyche Softwares
Class: orddd_license
Located at license.php

Methods summary

public static
# orddd_edd_sample_activate_license( )

Activate plugin license if License key is valid

Activate plugin license if License key is valid

Since

2.5

Hook

admin_init
public static
# orddd_edd_sample_deactivate_license( )

Deactivate the License

Deactivate the License

Since

2.5

Hook

admin_init
public static
# orddd_edd_sample_check_license( )

Checks if License key is valid or not

Checks if License key is valid or not

Since

2.5
public static
# orddd_edd_sample_register_option( )

Stores the license key in database of the site once the plugin is installed and the license key saved.

Stores the license key in database of the site once the plugin is installed and the license key saved.

Since

2.5

Hook

admin_init
public static
# orddd_get_edd_sanitize_license( string $new )

Checks if a new license has been entered, if yes plugin must be reactivated.

Checks if a new license has been entered, if yes plugin must be reactivated.

Parameters

$new
  • New License Key

Since

2.5
public static
# orddd_edd_sample_license_page( )

Add the license page in the Order delivery date menu.

Add the license page in the Order delivery date menu.

Since

2.5
public static
# orddd_check_if_license_active( )

Checks if the Plugin License is active or no. If not, a notice is displayed in WordPress admin for the same.

Checks if the Plugin License is active or no. If not, a notice is displayed in WordPress admin for the same.

Since

7.0

Hook

admin_init
public static boolean
# orddd_check_active_license( )

Returns License active status

Returns License active status

Returns

boolean
License active status

Since

7.0
public static
# orddd_license_active_notice( )

Adds notice in WordPress admin dashboard when the plugin license is not active.

Adds notice in WordPress admin dashboard when the plugin license is not active.

Since

7.0
API documentation generated by ApiGen