Render the purchase history of the current logged in user.
- current_user – Show the purchases history of the current logged in user. Accepts:
- user_id – Show the purchases history of a specific user.
When user clicks on the “View Order Details”, the screen will show all the details of the purchase (no new page required).
Important: Remember to configure the Purchase History Page with the page that contains this shortcode.