문제

I want to get list of all subscriptions in the WOOcommerce products.

Is there a built-in function or i have to use WP_QUERY thing to access that particular thing ?

도움이 되었습니까?

해결책

Try WC_Subscriptions::get_subscriptions().

Parameters for customising the output are documented in the function's doc block.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top