Hi there!
Thanks for contacting us.
I understand you are looking to add Recently Viewed Products under “My Accounts” dashboard.
The only thing I was able to think of here, to achieve this without using a plugin, is:
1) Create a widget area in “My Accounts” section
You could create a widget area at any location you’d like to: Hooks for My Account page.
Here’s how to create a widget area.
2) Use the “Recently Viewed Products list” widget
You could then use the “Recently Viewed Products list” widget which is provided in WooCommerce by default, in the Appearance > Widgets screen.
I’m going to leave this thread open for a bit to see if anyone else is able to chime in to help you out with other ideas.
I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.
You can also visit the WooCommerce Facebook group or the #developers
channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.
I hope this helps! ??