Dozent LMS developer documentation

  • Go To DozentLMS.com
Skip to content
Filter by type:
Search
Browse: Home / Classes / Dashboard / Dashboard::load_select2()

Dashboard::load_select2( $bool )


Source

File: classes/Dashboard.php

	public function load_select2( $bool ){
		$page = dozent_get_dashboard_url_segment();

		if ( $page === 'my-courses/create-course' ){
			return true;
		}

		return $bool;
	}

Expand full source code Collapse full source code


Related

Uses

Uses
Uses Description
includes/template-functions.php: dozent_get_dashboard_url_segment()

Get Dozent Dashboard URL segment

© 2023, Dozent LMS