The customer’s WooCommerce My Account Orders page displays all their orders, no matter the “status” (completed, processing, on-hold, pending, etc.).
It may happen that you, as a WooCommerce store manager, need to hide certain orders, for example the “on-hold” ones, or all orders with a custom order status.
Thankfully, this is very easy with a few lines of PHP. Enjoy!
In this example, I’d like to hide all “On hold” orders from the customer My Account page
PHP Snippet: Hide Specific Order Status @ My Account Orders Page