Class orddd_filter
orddd_filter Class
Author: Tyche Softwares
Class: orddd_filter
Located at filter.php
Methods summary
public static
array
|
#
orddd_woocommerce_order_delivery_date_column( array $columns )
This function is used to add the custom plugin column Delivery Date on WooCommerce->Orders page. |
public static
|
#
orddd_woocommerce_custom_column_value( string $column )
This function echoes the delivery details to the 'Delivery Date' column on WooCommerce->Orders for each order. |
public static
array
|
#
orddd_woocommerce_custom_column_value_sort( array $columns )
Adds the Delivery Date column in WooCommerce->Orders as a sortable column. Mentions the meta key present in post meta table that can be used for sorting. |
public static
array
|
|
public static
|
#
orddd_restrict_orders( )
Prints a dropdown to filter the orders based on Delivery Dates in WooCommerce->Orders. |
public static
array
|
#
orddd_add_filterable_field( array $vars )
Filter the orders displayed in WooCommerce->Orders based on the Delivery Dates filter dropdown. |
public static
array
|
#
orddd_add_search_fields( array $search_fields )
Adds the Delivery Date field to the set of searchable fields so that the orders can be searched based on Delivery details. |
public static
|
#
orddd_display_delivery_date_admin_order_meta( WC_Order $order )
Echoes the Delivery date on WooCommerce->Orders->Edit Order page. |
public static
|
#
orddd_display_time_slot_admin_order_meta( WC_Order $order )
Echoes the Delivery time on WooCommerce->Orders->Edit Order page. |