LLMS_Student::get_name()
Get the full name of a student
Return Return
(string)
Source Source
File: includes/models/model.llms.student.php
public function get_name() {
$name = trim( $this->get( 'first_name' ) . ' ' . $this->get( 'last_name' ) );
if ( ! $name ) {
$name = $this->display_name;
}
return apply_filters( 'llms_student_get_name', $name, $this->get_id(), $this );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.4 | Introduced. |