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)
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; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |