Skip to content

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

License

Notifications You must be signed in to change notification settings

joeharby/WooCommerce-Custom-Endpoint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%