Duplicate Snippet
Embed Snippet on Your Site
MemberPress: Update MemberPress Account Course Tab Link With A Custom URL
This code snippet customizes the default URL of the Courses tab link in the navigation menu on the MemberPress Account page. It changes the default course URL to a custom URL, allowing users to access a custom page on which all courses are listed.
The code snippet should be updated by replacing the default slug (/courses/) with a custom page slug or URL on this line:
return '/courses/';
Code Preview
php
| |
| |
| |
| |
| |
| |
| |
Comments