Browse: Home / Functions /

learndash_certificate_get_used_by

learndash_certificate_get_used_by( integer $post_id,  string $post_type = '' )

Get where the Certificate post is used. Course/Quiz/Group.


Description #


Parameters #

$post_id

(integer) (Required) Certificate Post ID.

$post_type

(string) (Optional) Single post type slug to check.

Default value: ''


Return #

(array) Array of post IDs.


Source #

File: includes/ld-certificates.php


Changelog #

Changelog
Version Description
3.4.1 Introduced.