llms_template_student_dashboard_my_favorites()

Template for My Favorites section on dashboard index.


Return Return

(void)


Top ↑

Source Source

File: includes/functions/llms.functions.templates.dashboard.php

	function llms_template_student_dashboard_my_favorites() {

		$student = llms_get_student();

		if ( ! $student || ! llms_is_favorites_enabled() ) {
			return;
		}

		ob_start();
		llms_template_my_favorites_loop( $student );

		llms_get_template(
			'myaccount/my-favorites.php',
			array(
				'content' => ob_get_clean(),
			)
		);
	}


Top ↑

Changelog Changelog

Changelog
Version Description
7.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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