Skip to content

[Enhancement]: Reduce the calls to get_post_meta in data stores #60706

@albarin

Description

@albarin

Similar to #37326, we should follow the same approach in:

\Abstract_WC_Order_Data_Store_CPT::read_order_data
\WC_Order_Data_Store_CPT::read_order_data
\WC_Order_Refund_Data_Store_CPT::read_order_data

Not worth the effort:

  • \WC_Product_Data_Store_CPT::get_data_for_lookup_table
  • \WC_Coupon_Data_Store_CPT::read

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions