LLMS_User_Certificate::get_unit()
Retrieves the ID of the certificate’s unit.
Description Description
See also See also
Return Return
(string)
Source Source
File: includes/models/model.llms.user.certificate.php
public function get_unit() { if ( 'CUSTOM' === $this->get_size() ) { return $this->get( 'unit' ); } $size_info = $this->get_registered_size_data(); return $size_info['unit']; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |