LLMS_Student::is_active()
Determine if the student is active in at least one course or membership
Return Return
(boolean)
Source Source
File: includes/models/model.llms.student.php
*/
return apply_filters( 'llms_student_get_progress', $ret, $object_id, $type, $this->get_id() );
}
/**
* Retrieve the student's original registration date in the chosen format.
*
* @since Unknown
* @since 5.2.0 Changed the date to be relative to the local time zone.
*
* @param string $format Any date format that can be passed to date().
* @return string
*/
public function get_registration_date( $format = '' ) {
if ( ! $format ) {
$format = get_option( 'date_format' );
}
return wp_date( $format, strtotime( $this->get( 'user_registered' ) ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.14.0 | Introduced. |