llms_register_certificate_image_size()
Register the custom “print_certificate” image size
Contents
Return Return
(void)
Source Source
File: includes/functions/llms.functions.certificate.php
function llms_register_certificate_image_size() {
$width = get_option( 'lifterlms_certificate_bg_img_width', '800' );
$height = get_option( 'lifterlms_certificate_bg_img_height', '616' );
add_image_size( 'lifterlms_certificate_background', $width, $height, true );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 2.2.0 | Introduced. |