Resources::load_chart_js( $bool,  $page )


Source

File: classes/Resources.php

	public function load_chart_js( $bool, $page ){

		if ( is_dozent_dashboard() ){
			$current_page = dozent_get_dashboard_url_segment();

			if ( $current_page === 'earning' ){
				$bool = true;
			}
		}

		return $bool;
	}