wogc/admin/manage_shop_order_columns
Name: wogc/admin/manage_shop_order_columns
Type: Filter
Arguments: $columns
The filter can be used to add new column on SuperAdmin Orders interface. To render code for a custom column see wogc/admin/manage_shop_order_column_data
The following example add a new column called Products
add_filter('wogc/admin/manage_shop_order_columns', 'custom_wogc_admin_manage_shop_order_columns'); function custom_wogc_admin_manage_shop_order_columns( $columns ) { $columns['products'] = __( 'Products', 'woocommerce' ); return $columns; }
The code should be placed inside a php file on wp-content/mu-plugins folder.