Retrieves the ID of the certificate’s unit.

Description Description

See also See also

Top ↑

Return Return


Top ↑

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'];


Top ↑

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.