LLMS_Student::is_instructor()

Determine if the student is a LifterLMS Instructor (of any kind)


Description Description

Can be admin, manager, instructor, assistant.


Top ↑

Return Return

(boolean)


Top ↑

Source Source

File: includes/models/model.llms.student.php

	public function is_instructor() {
		return $this->user->has_cap( 'lifterlms_instructor' );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.14.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.