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

  • orddd_lite_filter

Class orddd_lite_filter

Order Delivery Date Filter Class

Package: Order-Delivery-Date-Lite-for-WooCommerce\Admin\Delivery-Date-on-Edit-Order-Page
Author: Tyche Softwares
Class: orddd_lite_filter
Located at filter.php

Methods summary

public static array
# orddd_lite_woocommerce_order_delivery_date_column( array $columns )

This function adds the Delivery Date column to WooCommerce->Orders page

This function adds the Delivery Date column to WooCommerce->Orders page

Parameters

$columns
  • List of columns already present

Returns

array
$new_columns - List of columns with the new ones added

Since

1.9
public static
# orddd_lite_woocommerce_custom_column_value( str $column )

This function adds the Delivery Date for each order on WooCommerce->Orders page

This function adds the Delivery Date for each order on WooCommerce->Orders page

Parameters

$column
  • Name of the column

Since

1.9
public static array
# orddd_lite_woocommerce_custom_column_value_sort( array $columns )

Adds the Delivery Date column to the list of sortable columns in WooCommerce->Orders page.

Adds the Delivery Date column to the list of sortable columns in WooCommerce->Orders page.

Parameters

$columns
  • list of sortable columns

Returns

array
$columns - list of sortable columns with our column added

Since

1.9
public static array
# orddd_lite_woocommerce_delivery_date_orderby( array $vars )

Delivery date column orderby. This help WooCommerce to understand the field on which the sorting should be based on. The delivery date is stored as a timestamp in the _orddd_lite_timestamp variable in wp_postmeta

Delivery date column orderby. This help WooCommerce to understand the field on which the sorting should be based on. The delivery date is stored as a timestamp in the _orddd_lite_timestamp variable in wp_postmeta

Parameters

$vars

Returns

array

Since

1.9
API documentation generated by ApiGen