Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards

Hide order /suborder column from the my account page

Add the below codes in the functions.php file of your current active theme to hide the order/ suborder column from WooCommerce My account page –

 * Remove Order ID column from My Account page
function remove_order_id_column( $columns ) {
    unset( $columns['order-number'] );
    return $columns;
add_filter( 'woocommerce_account_orders_columns', 'remove_order_id_column' );
/* Remove Suborder from coustomer my-account page */
add_filter( 'woocommerce_account_orders_columns' , function( $suborders ) {
    unset( $suborders['mvx_suborder'] );
    return $suborders;
  } , 999 );

Leave a Reply