LLMS_Student::get_registration_date( string $format = '' )
Retrieve the student’s original registration date in the chosen format.
Parameters Parameters
- $format
-
(string) (Optional) Any date format that can be passed to date().
Default value: ''
Return Return
(string)
Source Source
File: includes/models/model.llms.student.php
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 |
---|---|
5.2.0 | Introduced. |