llms_get_student( mixed $user = null )

Get an LLMS_Student


Parameters Parameters

$user

(mixed) (Optional) WP_User ID, instance of WP_User, or instance of any student class extending this class.

Default value: null


Top ↑

Return Return

(LLMS_Student|false) LLMS_Student instance on success, false if user not found.


Top ↑

Source Source

File: includes/functions/llms.functions.person.php

 *                        If `$user` is not empty then this parameter has no impact.
 * @return LLMS_Student|false LLMS_Student instance on success, false if user not found.
 */
function llms_get_student( $user = null, $autoload = true ) {


Top ↑

Changelog Changelog

Changelog
Version Description
3.9.0 Unknown
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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