• LifterLMS
  • Knowledge Base
  • Academy
  • Blog
  • Podcast
  • Contributors
  • My Account

LifterLMS LifterLMS

  • Code Reference
  • REST API
  • LLMS-CLI

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Code Reference / Classes / LLMS_User_Postmeta / LLMS_User_Postmeta::get_student()

LLMS_User_Postmeta::get_student()

Retrieve a student obj for the meta item.

Contents

  • Return
  • Source
  • Related
    • Uses
    • Used By
  • Changelog
  • User Contributed Notes

Return #Return

(LLMS_Student|false)


Top ↑

Source #Source

File: includes/models/model.llms.user.postmeta.php

	public function get_student() {
		return llms_get_student( $this->get( 'user_id' ) );
	}

Expand full source code Collapse full source code View on GitHub


Top ↑

Related #Related

Uses #Uses

Uses
Uses Description
includes/functions/llms.functions.person.php: llms_get_student()

Get an LLMS_Student

Top ↑

Used By #Used By

Used By
Used By Description
includes/models/model.llms.user.postmeta.php: LLMS_User_Postmeta::get_link()

Retrieve a link for the item on the admin panel

includes/models/model.llms.user.postmeta.php: LLMS_User_Postmeta::get_description()

Get a string used to describe the postmeta item.


Top ↑

Changelog #Changelog

Changelog
Version Description
3.15.0 Introduced.

Top ↑

User Contributed Notes #User Contributed Notes

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

© 2014 - 2023 LifterLMS · Privacy Policy · Terms and Conditions

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.