Open
Description
WC_Subscriptions_Order->render_contains_subscription_column_content()
adds two additional queries for each order listed on the orders admin listing page.
A couple of ways to make an improvement:
The underlying code forwcs_order_contains_subscription()
could be made more performant by avoiding the loading of any subscriptions (avoiding extra unneeded callbacks/filters), or at least avoiding the extra count query added on.- Consider priming the data needed for the
->render_contains_subscription_column_content()
for all orders being rendered at once in a single query rather than one at a time.