Skip to content
Discussion options

You must be logged in to vote

Hi @hiSoft1129 , you've got the core concept right already, so most of the groundwork is done. Taking your questions in order.

WooCommerce does the first compatibility pass for you: under WooCommerce > Settings > Advanced > Features, the HPOS section lists any active plugins that declare themselves incompatible, and wp wc hpos compatibility-info gives you the same list from WP-CLI. One thing to keep in mind: this only catches plugins that declare their status, so a plugin that never declares anything still needs a manual look.

In your own code, the usual offenders are direct calls like get_post_meta() or update_post_meta() with an order ID, get_posts() or WP_Query on the shop_order post t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hiSoft1129
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants