llms_get_certificate_title( int $id )

Retrieve the title of a certificate


Description Description


Parameters Parameters

$id

(int) (Required) WP post id of the cert (optional if used within a loop)


Top ↑

Return Return

(string) title of the cert


Top ↑

Source Source

File: includes/functions/llms.functions.certificate.php

function llms_get_certificate_title( $id = 0 ) {

	$id = ( $id ) ? $id : get_the_ID();

	return apply_filters( 'lifterlms_certificate_title', get_post_meta( $id, '_llms_certificate_title', true ), $id );

}

Top ↑

Changelog 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.