Problem:
I would like to also add another query/view onto this that shows per user, which woocommerce subscriptions and which woocomerce memberships that user ID is tied to.
Solution:
In Toolset side, you can:
- Use shortcode [wpv-user field="ID"] to get current logged-in user's ID,
- Use shortcode [wpv-post-author format="meta" meta="ID"] to get current post author's ID
You can check it with plugin authors of "WooCommerce Membership" and "WooCommerce Subscriptions", check if there is any shortcode within their plugins, which supports passing user's ID, and display customer's Membership and Subscriptions information.
Relevant Documentation:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-user
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-154504
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
Este tema contiene 2 respuestas, tiene 2 mensajes.
Última actualización por hace 4 años, 2 meses.
Asistido por: Luo Yang.