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.
Related Posts
Managing multiple WooCommerce shops within a WordPress Multisite environment can be challenging, especially when it comes to keeping product information consistent across all stores. The WooCommerce Product Synchronization feature in the WP Global Cart plugin addresses this challenge by enabling seamless synchronization of products across your network.
Name: woogc/single_checkout/split_order/order_created Type: Action Arguments: $new_order The `woogc/single_checkout/split_order/order_created` action...