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

Packages

  • None
  • Order-Delivery-Date-Lite-for-WooCommerce
    • Admin
      • Delivery-Date-on-Edit-Order-Page
      • Display-Holidays
      • Pro-Notices
      • Settings
      • Welcome-Page
    • Common-Functions
    • Frontend
      • Checkout-Page-Processes
    • Integrate-Delivery-Date

Classes

  • order_delivery_date_lite

Class order_delivery_date_lite

Main Order Delivery Date class

Located at order_delivery_date.php

Methods summary

public
# __construct( )

Default Constructor

Default Constructor

Since

1.0
public
# orddd_lite_load_ajax( )

Loads ajax callback

Loads ajax callback

Since

1.5

Hook

init
public
# orddd_lite_activate( )

Add default settings when plugin is activated for the first time

Add default settings when plugin is activated for the first time

Since

1.5

Globals

array $orddd_lite_weekdays Weekdays array

Hook

register_activation_hook
public
# orddd_lite_update_po_file( )

Load text domain for language translation

Load text domain for language translation

Since

1.5

Hook

init
public static boolean
# orddd_lite_check_woo_installed( )

Check if WooCommerce is active

Check if WooCommerce is active

Returns

boolean

Since

2.6
public
# orddd_lite_check_if_woocommerce_active( )

Check if WooCommerce plugin is active or not. If it is not active then it will display a notice.

Check if WooCommerce plugin is active or not. If it is not active then it will display a notice.

Since

2.6

Hook

admin_init
public static
# orddd_lite_disabled_notice( )

Display a notice in the admin Plugins page if the plugin is activated while WooCommerce is deactivated.

Display a notice in the admin Plugins page if the plugin is activated while WooCommerce is deactivated.

Since

2.6

Hook

admin_notices
public integer
# get_orddd_lite_version( )

Returns the order delivery date plugin version number

Returns the order delivery date plugin version number

Returns

integer
$plugin_version Plugin Version

Since

1.0
public
# orddd_lite_update_db_check( )

This function is executed when the plugin is updated using the Automatic Updater.

This function is executed when the plugin is updated using the Automatic Updater.

Since

1.0

Globals

int $wpefield_version Plugin Version

Hook

admin_init
public
# orddd_lite_update_install( )

Updates the require options when the plugin is updated using the Automatic Updater.

Updates the require options when the plugin is updated using the Automatic Updater.

Since

1.0

Globals

resource $wpdb
array $orddd_lite_weekdays Weekdays array
public
# orddd_lite_capabilities( )

Capability to allow shop manager to edit settings

Capability to allow shop manager to edit settings

Since

2.2

Hook

admin_init
public
# admin_notices_scripts( )

Enqueue scripts in the admin footer

Enqueue scripts in the admin footer

Since

2.6

Hook

admin_footer
public
# orddd_lite_my_enqueue( string $hook )

Enqueue scripts on the admin Order Delivery Date menu page

Enqueue scripts on the admin Order Delivery Date menu page

Parameters

$hook
@hook

Since

1.0

Hook

admin_enqueue_scripts
public
# orddd_lite_front_scripts_js( )

Enqueue scripts on the frontend checkout page

Enqueue scripts on the frontend checkout page

Since

1.0

Hook

woocommerce_after_checkout_billing_form
woocommerce_after_checkout_shipping_form
woocommerce_before_order_notes
woocommerce_after_order_notes
API documentation generated by ApiGen