{"id":16338129,"date":"2023-01-03T12:50:45","date_gmt":"2023-01-03T12:50:45","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/how-to-restrict-users-from-accessing-course\/"},"modified":"2023-01-03T12:50:45","modified_gmt":"2023-01-03T12:50:45","slug":"how-to-restrict-users-from-accessing-course","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/how-to-restrict-users-from-accessing-course\/","title":{"rendered":"How to restrict users from accessing course"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi i had a free course availble to anyone with many people signup for it. I now need to only allow paid customers to be able to access the course. What is the best approach for this? Do i just change role from Customer to What?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thnk you<\/p>\n","protected":false},"template":"","class_list":["post-16338129","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16338129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16338129\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16338129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}