Implement shop search and refactor
This commit is contained in:
@@ -15,6 +15,17 @@ class Wiaas_Admin_CL_Orders {
|
||||
add_filter( 'manage_edit-shop_order_sortable_columns', array( __CLASS__, 'define_sortable_columns_for_list_table_orders' ) );
|
||||
|
||||
add_action('manage_shop_order_posts_custom_column', array(__CLASS__, 'render_columns_for_list_table_orders'), 999, 2);
|
||||
|
||||
//add_filter('wc_order_types', array(__CLASS__, ''), 999, 32);
|
||||
}
|
||||
|
||||
public static function hide_order_customers_search( $order_types, $for ) {
|
||||
|
||||
if ($for === 'order-meta-boxes') {
|
||||
return array();
|
||||
}
|
||||
|
||||
return $order_types;
|
||||
}
|
||||
|
||||
public static function remove_bulk_actions_for_list_table_orders() {
|
||||
|
||||
Reference in New Issue
Block a user