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

56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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.