apply_filters( 'lifterlms_certificate_background_image_placeholder_height', int $height, int $certificate_id )

Filters the display height of the default certificate background image.

Description Description

This filter is used by legacy certificates only. If the certificate is utilizing the block editor the filtered value does not affect the size of the background image as the image is always set to fill the width and height of the certificate itself.

Top ↑

Parameters Parameters


(int) Display height of the image, in pixels.


(int) WP_Post ID of the awarded certificate.

Top ↑

Source Source

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

View on GitHub

Top ↑

Changelog Changelog

Version Description
2.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.