apply_filters( 'ld_certificate_image_type', string $type, int $post_id, int $thumbnail_id )

Filters the type of the image to use for the certificate PDF background.


Description Description

Filter to allow URLs to be used for certificate background images. LEARNDASH-3430


Parameters Parameters

$type

Default 'path' will user local server path. 'url' will use image URL.

$post_id

Post ID of certificate to be shown.

$thumbnail_id

Image thumbnail ID.


Top ↑

Source Source

File: includes/ld-convert-post-pdf.php


Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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