LLMS_Student_Dashboard::get_endpoints()

Retrieve an array of all endpoint data for student dashboard endpoints


Return Return

(array)


Top ↑

Source Source

File: includes/class.llms.student.dashboard.php

	public function get_endpoints() {

		$endpoints = array();
		foreach ( self::get_tabs() as $var => $data ) {

			if ( empty( $data['endpoint'] ) ) {
				continue;
			}

			$endpoints[ $var ] = $data['endpoint'];

		}

		return $endpoints;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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