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


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 wp_date( $format, strtotime( $this->get( 'user_registered' ) ) );

	}

Top ↑

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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