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. Use llms_get_certificate_sizes() instead.


Retrieves the registered size data array for the certificate’s size.

Description Description

This method should not be used without first verifying that the certificate’s size is not set to CUSTOM as this is not a valid size and the sitewide default will be returned.

See also See also

Top ↑

Return Return


Top ↑

Source Source

File: includes/models/model.llms.user.certificate.php

	private function get_registered_size_data() {

		$size  = $this->get_size();
		$sizes = llms_get_certificate_sizes();
		if ( ! $size || empty( $sizes[ $size ] ) ) {
			$size = get_option( 'lifterlms_certificate_default_size', 'LETTER' );

		return $sizes[ $size ] ?? array_values( $sizes )[0];


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.