User::become_an_instructor()

When an user submit becoming instructor form.


Source

File: classes/User.php

	public function become_an_instructor() {
		$user_id = get_current_user_id();
		$this->upgrade_to_instructor( $user_id );
		dozent_set_flash_message( 'Thank you for your interest to become an instructor', 'dozent' );
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.