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: ''


Top ↑

Return Return

(string)


Top ↑

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' ) ) );

	}

Top ↑

Changelog Changelog

Changelog
Version Description
?? Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: