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_size_opts()
Retrieves the options array for the lifterlms_certificate_default_size
option.
Return Return
(array)
Source Source
File: includes/admin/settings/class.llms.settings.engagements.php
private function get_certificate_size_opts() { $units = llms_get_certificate_units(); $sizes = array(); foreach ( llms_get_certificate_sizes() as $size_id => $data ) { $unit = $units[ $data['unit'] ] ?? ''; $sizes[ $size_id ] = sprintf( '%1$s (%2$s%4$s x %3$s%4$s)', $data['name'], $data['width'], $data['height'], $unit['symbol'] ?? '' ); } return $sizes; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |