I have a membership plugin that can restrict content on a page with a shortcode:
[woocommerce_members_only]
some content here... [/woocommerce_members_only]
Basically I want only paying members/subscribers to access the notes and discussion section of all the units. Can this be done by adding the shortcode inside the Discussions page itself or in the bp-course-functions.php file?
So if they click "Ask Question" they will be redirected to the page I have set in my membership plugin. Or at least I don't want that section to show up at all if they are paying members by using the shortcode.