Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Settings_Engagements::get_certificate_units_opts()

Retrieves the options array for the lifterlms_certificate_default_user_defined_units option.


Return Return

(array)


Top ↑

Source Source

File: includes/admin/settings/class.llms.settings.engagements.php

	private function get_certificate_units_opts() {

		$units = llms_get_certificate_units();
		$opts  = array();

		foreach ( $units as $unit => $data ) {
			$opts[ $unit ] = sprintf(
				'%1$s (%2$s)',
				$unit,
				$data['name']
			);
		}
		return $opts;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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