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)
Return Return
(string) title of the cert
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 ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |