User::__construct()


Source

File: classes/User.php

	public function __construct() {
		add_dozent_action( 'option_save_after', [ $this, 'can_publish_course' ] );

		//User signup
		add_dozent_action( 'user_signup', [ $this, 'user_signup' ] );
		add_dozent_action( 'become_an_instructor', [ $this, 'become_an_instructor' ] );

		//Logout From the Dashboard
		add_dozent_action( 'dashboard_template_before_logout', [ $this, 'dashboard_logout' ] );

		//Profile Edit From the Dashboard
		add_dozent_action( 'profile_edit', [ $this, 'profile_edit' ] );
		//Reset Password
		add_dozent_action( 'reset_password', [ $this, 'reset_password' ] );
	}