LLMS_View_Manager::modify_dashboard( boolean $value )

Modify the student dashboard


Parameters Parameters

$value

(boolean) (Required) Default value from the filter.


Top ↑

Return Return

(boolean)


Top ↑

Source Source

File: includes/class.llms.view.manager.php

	public function modify_dashboard( $value ) {

		switch ( $this->get_view() ) {

			case 'visitor':
				$value = false;
				break;

			case 'student':
				$value = true;
				break;
		}

		return $value;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
4.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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