Duplicate Snippet
Embed Snippet on Your Site
MemberPress: Change Courses Listing Page Link
This code snippet will replace the URL for built-in links to the default MemberPress Course Listings page with a custom link.
The default slug courses should be replaced with the slug of the page or post that should be linked instead, on the following link of the code:
$link = home_url() . '/courses/';
Code Preview
php
| |
| |
| |
| |
| |
| |
| |
| |
Comments