Retrieve an array of Membership Levels for a user

Return Return


Top ↑

Source Source

File: includes/models/model.llms.student.php

	public function get_membership_levels() {

		$levels = get_user_meta( $this->get_id(), '_llms_restricted_levels', true );

		if ( empty( $levels ) ) {

			$levels = array();


		return $levels;


Top ↑

Changelog Changelog

Version Description
2.2.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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