a
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudanti.
a
Follow Me
Search
wogc/admin/manage_shop_order_columns - WooCommerce MultiSite Global Cart
14799
documentation-template-default,single,single-documentation,postid-14799,cookies-not-set,eltd-core-1.1,woocommerce-no-js,awake child-child-ver-1.0.0,awake-ver-1.0,eltd-smooth-scroll,eltd-smooth-page-transitions,eltd-mimic-ajax,eltd-grid-1200,eltd-blog-installed,eltd-default-style,eltd-fade-push-text-top,eltd-header-standard,eltd-sticky-header-on-scroll-down-up,eltd-default-mobile-header,eltd-sticky-up-mobile-header,eltd-menu-item-first-level-bg-color,eltd-dropdown-slide-from-top,eltd-,eltd-fullscreen-search eltd-search-fade,eltd-side-menu-slide-from-right,wpb-js-composer js-comp-ver-5.0.1,vc_responsive
 

wogc/admin/manage_shop_order_columns

WooCommerce MultiSite Global Cart / wogc/admin/manage_shop_order_columns
Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on TumblrPin on PinterestEmail this to someonePrint this page

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.