Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 790 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 790 Bytes

WooCommerce-Custom-Endpoint

Create a custom endpoint in WooCommerce My Account Page showing your private content to customers

The functions will create a new navigation menu in the My Account page which only customers can access.

First you need to create a page from where you want to fetch your content for the custom menu. In this example we have create a page Videos. You can name is anything. Add your contnet in the page and publish this or keep this in the draft.

Second, add the functions from the functions.php file to your child theme functions.php file. Go through the comments and change things accordingly.

Read more about this <a href="https://ayanize.com/snippets/how-to-create-a-custom-end-point-or-a-private-page-for-customers/" target+"_blank">in details here.