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_User_Certificate::set_property_defaults()

Configure non-static property defaults.


Return Return

(void)


Top ↑

Source Source

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

	private function set_property_defaults() {

		// Default size is configured via a site option.
		$default_size                    = get_option( 'lifterlms_certificate_default_size', 'LETTER' );
		$this->property_defaults['size'] = ! $default_size ? 'LETTER' : $default_size;

	}


Top ↑

Changelog 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.