Render the purchase history of the current logged in user.
Attributes:
- current_user – Show the purchases history of the current logged in user. Accepts:
yes
orno
Default:yes
- 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.