I am creating a custom plugin using WordPress Plugin Boilerplate Generator . Is it possible to create new menu items in woo commerce my accounts page when the plugin is activated ?
Question posted in Woocommerce
The official Woocommerce documentation can be found here.
The official Woocommerce documentation can be found here.
2
Answers
Yes, but it’s rather long to put it here. I’d rather provide you a link to a tutorial, (Customising account page tabs), from WooCommerce github.
Yes, for sure its possible. First you need to register a new endpoint in WordPress using the add_rewrite_endpoint() function and also register it via the query_vars filter.
I did that similar stuff on a site named xduit.com around 2 years back.