add_filter( 'woocommerce_account_menu_items', 'custom_remove_downloads_my_account', 999 ); function custom_remove_downloads_my_account( $items ) { unset($items['downloads']); return $items; }