Get Woocommerce subscription object outside of loop

前端 未结 0 1709
旧巷少年郎
旧巷少年郎 2021-01-27 21:07

Is it possible to get the a Woocommerce subscription object outside of the loop?

I\'m using the following but it doesn\'t recognise WC_Subscription:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题