LLMS_Student::get_registration_date( string $format = '' )
Retrieve the Students original registration date in chosen format
Description Description
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 date_i18n( $format, strtotime( $this->get( 'user_registered' ) ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
?? | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: