apply_filters( 'lifterlms_certificate_background_image_width', int $width , int $certificate_id )
Filters the display width of the 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.
Parameters Parameters
- $width
-
(int) Display width of the image, in pixels.
- $certificate_id
-
(int) WP_Post ID of the awarded certificate.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |