@maxos111,
At this moment LifterLMS does not have any defined teacher functionality but it’s on our roadmap and we’ll be developing this functionality in the near future.
You could create a custom role using a plugin like this one: https://ww.wp.xz.cn/plugins/user-role-editor/
This custom role could be granted the ability to create their own courses, lessons, sections and edit them but not others
Sorry we don’t have this today, it’s a big feature and we know it’s important we just haven’t gotten there yet
take care,
Hi,
Can you please give me some help on how you used to filters? I dont seem to be able to find the documentation for V3 of Lifter LMS.
Hi @stickymathscom
Looks that LifterLMS transfer this article somwhere to new website but without redirect.I can not find this article now.
I used this code (copy from my function.php)
/**
* Allow WP users with the "edit_posts" capability to access the courses post type
* @param string $capability default capability for access ("manage_options")
* @return string modified capability for access
*/
function my_llms_courses_access( $capability )
{
// you can define any valid WordPress capability here
// see http://codex.ww.wp.xz.cn/Roles_and_Capabilities#Capabilities for a comprehensive list of capabilties
$capability = 'edit_posts';
return $capability;
}
// add your filters
add_filter( 'lifterlms_admin_courses_access', 'my_llms_courses_access', 10, 1 ); // display the courses post type
/**
* end
* LifterLMS
*/